Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasRestrictions (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                        break;
                    case ResolutionListener.RESTRICT_RANGE:
                        if (node.getArtifact().getVersionRange().hasRestrictions()
                                || replacement.getVersionRange().hasRestrictions()) {
                            listener.restrictRange(node.getArtifact(), replacement, newRange);
                        }
                        break;
                    default:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                if (restriction.containsVersion(version)) {
                    return true;
                }
            }
            return false;
        }
    
        public boolean hasRestrictions() {
            return !restrictions.isEmpty() && recommendedVersion == null;
        }
    
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top