Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 431 for useEmpty (0.08 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

        }
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            super.setUp();
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            EmptyLifecycleBindingsInjector.lifecycleRegistry = lifecycleRegistry;
            EmptyLifecycleBindingsInjector.packagingRegistry = packagingRegistry;
        }
    
        public static void useEmpty() {
            lifecycleRegistry = emptyLifecycleRegistry;
            packagingRegistry = emptyPackagingRegistry;
        }
    
        private static Plugin newPlugin(String artifactId, String... goals) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

            this.groupId = (groupId != null && !groupId.isEmpty()) ? groupId : null;
            this.artifactId = (artifactId != null && !artifactId.isEmpty()) ? artifactId : null;
            this.classifier = (classifier != null && !classifier.isEmpty()) ? classifier : null;
            this.extension = (extension != null && !extension.isEmpty()) ? extension : null;
            this.version = (version != null && !version.isEmpty()) ? version : null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/filter.go

    			default:
    				return errUnknownXMLTag
    			}
    		}
    	}
    	return nil
    }
    
    // IsEmpty returns true if Filter is not specified in the XML
    func (f Filter) IsEmpty() bool {
    	return !f.set
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

        }
    
        public ExecutionListener chainListener(ExecutionListener listener) {
            if (eventSpies.isEmpty()) {
                return listener;
            }
            return new EventSpyExecutionListener(this, listener);
        }
    
        public RepositoryListener chainListener(RepositoryListener listener) {
            if (eventSpies.isEmpty()) {
                return listener;
            }
            return new EventSpyRepositoryListener(this, listener);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            Set<Artifact> resolved = new LinkedHashSet<>();
    
            if (projects == null || projects.isEmpty()) {
                return resolved;
            }
    
            if ((scopesToCollect == null || scopesToCollect.isEmpty())
                    && (scopesToResolve == null || scopesToResolve.isEmpty())) {
                return resolved;
            }
    
            /*
    
            Logic for transitive global exclusions
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        public boolean isEmpty() {
            return entry == null || vertices == null || vertices.isEmpty();
        }
    
        // ------------------------------------------------------------------------
        public boolean isEmptyEdges() {
            return isEmpty() || incidentEdges == null || incidentEdges.isEmpty();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
            boolean expectRejection =
                range1.isConnected(range2) && !range1.intersection(range2).isEmpty();
            ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder();
            builder.put(range1, 1).put(range2, 2);
            try {
              ImmutableRangeMap<Integer, Integer> unused = builder.build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            buffer.append((groupId != null && !groupId.isEmpty()) ? groupId : "[unknown-group-id]");
            buffer.append(':');
            buffer.append((artifactId != null && !artifactId.isEmpty()) ? artifactId : "[unknown-artifact-id]");
            buffer.append(':');
            buffer.append((version != null && !version.isEmpty()) ? version : "[unknown-version]");
    
            return buffer.toString();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top