Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isEmptyEdges (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                if (cleanGraph == null || cleanGraph.isEmpty()) {
                    return null;
                }
    
                ClasspathContainer cpc = new ClasspathContainer(scope);
                if (cleanGraph.isEmptyEdges()) {
                    // single entry in the classpath, populated from itself
                    ArtifactMetadata amd = cleanGraph.getEntry().getMd();
                    cpc.add(amd);
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                return null;
            }
    
            if (graph.isEmpty()) {
                throw new GraphConflictResolutionException("graph with an entry, but not vertices do not exist");
            }
    
            if (graph.isEmptyEdges()) {
                return null; // no edges - nothing to worry about
            }
    
            final TreeSet<MetadataGraphVertex> vertices = graph.getVertices();
    
            try {
                // edge case - single vertex graph
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. 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();
        }
        // ------------------------------------------------------------------------
        @Override
        public String toString() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top