- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,163 for useEmpty (0.14 seconds)
-
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
* Test method for * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)} * . */ @Test public void testIsEmptyCollectionOfQ() { Collection<String> c = null; assertThat(CollectionsUtil.isEmpty(c), is(true)); c = new ArrayList<String>(); assertThat(CollectionsUtil.isEmpty(c), is(true)); } /** * Test method forCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
assertThat(requirements.getPresentFeatures()).isEmpty(); assertThat(requirements.getAbsentFeatures()).isEmpty(); } public void testBuildTesterRequirements_class_empty() throws Exception { @Require class Tester {} TesterRequirements requirements = buildTesterRequirements(Tester.class); assertThat(requirements.getPresentFeatures()).isEmpty();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
internal/bucket/replication/rule.go
Status Status `xml:"Status"` // should be set to "Disabled" by default } // IsEmpty returns true if DeleteMarkerReplication is not set func (d DeleteMarkerReplication) IsEmpty() bool { return len(d.Status) == 0 } // Validate validates whether the status is disabled. func (d DeleteMarkerReplication) Validate() error { if d.IsEmpty() { return errDeleteMarkerReplicationMissing }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
if (!requiredSelectors.isEmpty() || !optionalSelectors.isEmpty()) { Set<MavenProject> selectedProjects = projectSelector.getActiveProjects(request, allSortedProjects, projectActivation.getActivations()); // it can be empty when an optional project is missing from the reactor, fallback to returning all projects if (!selectedProjects.isEmpty()) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 18.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java
@CollectionSize.Require(ZERO) public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", getMap().isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", getMap().isEmpty()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java
mergeSite_Url(target, source, sourceDominant, context); } protected boolean isSiteEmpty(Site site) { return StringUtils.isEmpty(site.getId()) && StringUtils.isEmpty(site.getName()) && StringUtils.isEmpty(site.getUrl()); } @Override protected void mergeSite_Url(Site target, Site source, boolean sourceDominant, Map<Object, Object> context) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 21.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
assertThat(requirements.getPresentFeatures()).isEmpty(); assertThat(requirements.getAbsentFeatures()).isEmpty(); } public void testBuildTesterRequirements_class_empty() throws Exception { @Require class Tester {} TesterRequirements requirements = buildTesterRequirements(Tester.class); assertThat(requirements.getPresentFeatures()).isEmpty();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* If the argument is <code>null</code> or an empty string. */ public static void assertArgumentNotEmpty(final String argName, final String argValue) { if (StringUtil.isEmpty(argValue)) { throw new EmptyArgumentException(argName, "ECL0010", asArray(argName)); } } /** * Asserts that the argument is neither <code>null</code> nor an empty string. *
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
final int leftCount = leftPart.isEmpty() ? 0 : leftPart.split(":").length; final int rightCount = rightPart.isEmpty() ? 0 : rightPart.split(":").length; final int zerosCount = 8 - leftCount - rightCount; final StringBuilder expanded = new StringBuilder(leftPart); for (int i = 0; i < zerosCount; i++) { if (expanded.length() > 0) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
if (context.options().alsoMake().isPresent() && context.options().alsoMakeDependents().isEmpty()) { return MavenExecutionRequest.REACTOR_MAKE_UPSTREAM; } else if (context.options().alsoMake().isEmpty() && context.options().alsoMakeDependents().isPresent()) { return MavenExecutionRequest.REACTOR_MAKE_DOWNSTREAM;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0)