- Sort Score
- Num 10 results
- Language All
Results 801 - 810 of 1,161 for IsEmpty (0.22 seconds)
-
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
if (pluginGroups != null) { for (int i = 0; i < pluginGroups.size(); i++) { String pluginGroup = pluginGroups.get(i).trim(); if (pluginGroup.isEmpty()) { addViolation( problems, Severity.ERROR, "pluginGroups.pluginGroup[" + i + "]", null, "must not be empty"); } else if (!ID_REGEX.matcher(pluginGroup).matches()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 10.6K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
* @param urlList The list of URL patterns to include. */ @Override public void addIncludeUrlFilter(final String sessionId, final List<String> urlList) { if (urlList.isEmpty()) { return; } final List<OpenSearchUrlFilter> urlFilterList = new ArrayList<>(urlList.size()); for (final String url : urlList) {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.java
List<String> providers = RdmaProviderFactory.getAvailableProviders(); assertNotNull(providers, "Available providers list should not be null"); assertFalse(providers.isEmpty(), "Should have at least one available provider"); assertTrue(providers.contains("TCP Fallback"), "Should include TCP fallback"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
*/ @CanIgnoreReturnValue public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) { Queue<Feature<?>> queue = new ArrayDeque<>(features); while (!queue.isEmpty()) { Feature<?> feature = queue.remove(); for (Feature<?> implied : feature.getImpliedFeatures()) { if (features.add(implied)) { queue.add(implied); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
suite.addTestSuite(EnumBiMapTest.class); return suite; } public void testCreate() { EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); assertTrue(bimap.isEmpty()); assertThat(bimap.toString()).isEqualTo("{}"); assertEquals(HashBiMap.create(), bimap); bimap.put(Currency.DOLLAR, Country.CANADA); assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
writeShort(0) // answerCount writeShort(0) // authorityResourceCount writeShort(0) // additional val nameBuf = Buffer() val labels = host.split('.').dropLastWhile { it.isEmpty() } for (label in labels) { val utf8ByteCount = label.utf8Size() require(utf8ByteCount == label.length.toLong()) { "non-ascii hostname: $host" } nameBuf.writeByte(utf8ByteCount.toInt())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java
return new UpgradeResult(mergedProcessed, mergedModified, mergedErrors); } /** * Returns true if no errors occurred. */ public boolean success() { return errorPoms.isEmpty(); } /** * Returns the number of POMs processed. */ public int processedCount() { return processedPoms.size(); } /** * Returns the number of POMs modified.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java
try { context.doCloseContainer(); } catch (Exception e) { exceptions.add(e); } } if (!exceptions.isEmpty()) { InvokerException exception = new InvokerException("Could not cleanly shut down context pool"); exceptions.forEach(exception::addSuppressed); throw exception; } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 4.1K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
assertEquals("", myConfig.prefix()); assertEquals("myConfig", myConfig.name()); String config = node.toString(); assertFalse(config.isEmpty(), "Expected collection to not be empty but was empty"); } String toXml(Model model) throws IOException, XMLStreamException { StringWriter sw = new StringWriter();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
* @param localeStr * A string representing the locale * @return {@link Locale} */ public static Locale getLocale(final String localeStr) { if (localeStr == null || localeStr.isEmpty()) { return LocaleUtil.getDefault(); } // Use Java's built-in locale parsing which handles various formats // including language, language_country, and language_country_variantCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 2.3K bytes - Click Count (0)