Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  3. 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() {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Oct 05 18:41:13 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top