- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for checkScope (0.14 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java
} /** * Helper method to simplify null processing * * @param scope a scope or {@code null} * @return the provided scope or DEFAULT_SCOPE */ public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) { return scope == null ? DEFAULT_SCOPE : scope; } /** * * @return unsafe String representation of this scope. */ public String getScope() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java
MetadataGraphEdge e = (MetadataGraphEdge) o; return objectsEqual(version, e.version) && ArtifactScopeEnum.checkScope(scope) .getScope() .equals(ArtifactScopeEnum.checkScope(e.scope).getScope()) && depth == e.depth; } return false; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java
public MetadataTreeNode(ArtifactMetadata md, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope) { if (md != null) { md.setArtifactScope(ArtifactScopeEnum.checkScope(scope)); md.setResolved(resolved); } this.md = md; this.parent = parent; } // ------------------------------------------------------------------------
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
// ------------------------------------------------------------------------------------------- public ClasspathContainer(ArtifactScopeEnum scope) { this.scope = ArtifactScopeEnum.checkScope(scope); } // ------------------------------------------------------------------------------------------- public ClasspathContainer(List<ArtifactMetadata> classpath, ArtifactScopeEnum scope) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
// edge case - single vertex graph if (vertices.size() == 1) { return new MetadataGraph(entry); } final ArtifactScopeEnum requestedScope = ArtifactScopeEnum.checkScope(scope); MetadataGraph res = new MetadataGraph(vertices.size()); res.setVersionedVertices(false); res.setScopedVertices(false);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0)