- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for containsVersion (0.14 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java
} } @Override public boolean contains(Version version) { if (version instanceof DefaultVersion) { return delegate.containsVersion(((DefaultVersion) version).delegate); } else { return contains(new DefaultVersion(versionScheme, version.asString())); } } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java
} public ArtifactVersion getUpperBound() { return upperBound; } public boolean isUpperBoundInclusive() { return upperBoundInclusive; } public boolean containsVersion(ArtifactVersion version) { if (lowerBound != null) { int comparison = lowerBound.compareTo(version); if ((comparison == 0) && !lowerBoundInclusive) { return false;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
DefaultArtifactVersion jdkVersion = new DefaultArtifactVersion(convertJdkToMavenVersion(getJdkVersion())); return jdkVersionRange.containsVersion(jdkVersion); } private String convertJdkToMavenVersion(String jdk) { return jdk.replace("_", "-"); } protected String getJdkVersion() { return JDK_VERSION; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0)