Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isEmptyEdges (0.25 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 May 05 03:35:11 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 May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
Back to top