Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getUpperBound (0.21 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertNull(restriction.getLowerBound(), CHECK_LOWER_BOUND);
            assertFalse(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE);
            assertEquals("1.0", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND);
            assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE);
            assertNull(range.getRecommendedVersion(), CHECK_VERSION_RECOMMENDATION);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            while (!done) {
                if (res1.getLowerBound() == null
                        || res2.getUpperBound() == null
                        || res1.getLowerBound().compareTo(res2.getUpperBound()) <= 0) {
                    if (res1.getUpperBound() == null
                            || res2.getLowerBound() == null
                            || res1.getUpperBound().compareTo(res2.getLowerBound()) >= 0) {
                        ArtifactVersion lower;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeRangeMap.java

        if (mapEntryBelowToTruncate != null) {
          // we know ( [
          RangeMapEntry<K, V> rangeMapEntry = mapEntryBelowToTruncate.getValue();
          if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.lowerBound) > 0) {
            // we know ( [ )
            if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) {
              // we know ( [ ] ), so insert the range ] ) back into the map --
              // it's being split apart
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeRangeMap.java

        if (mapEntryBelowToTruncate != null) {
          // we know ( [
          RangeMapEntry<K, V> rangeMapEntry = mapEntryBelowToTruncate.getValue();
          if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.lowerBound) > 0) {
            // we know ( [ )
            if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) {
              // we know ( [ ] ), so insert the range ] ) back into the map --
              // it's being split apart
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            if (getLowerBound() != null) {
                buf.append(getLowerBound().toString());
            }
            buf.append(',');
            if (getUpperBound() != null) {
                buf.append(getUpperBound().toString());
            }
            buf.append(isUpperBoundInclusive() ? ']' : ')');
    
            return buf.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                if (versionRangeResult.getVersionConstraint() != null
                        && versionRangeResult.getVersionConstraint().getRange() != null
                        && versionRangeResult.getVersionConstraint().getRange().getUpperBound() == null) {
                    // Message below is checked for in the MNG-2199 core IT.
                    throw new UnresolvableModelException(
                            String.format(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

            if (range != null) {
                for (Restriction restriction : range.getRestrictions()) {
                    if (isSnapshot(restriction.getLowerBound()) || isSnapshot(restriction.getUpperBound())) {
                        return RELEASE_OR_SNAPSHOT;
                    }
                }
            }
    
            return RELEASE;
        }
    
        private boolean isSnapshot(ArtifactVersion version) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                }
            }
    
            @Override
            public Boundary getUpperBoundary() {
                org.eclipse.aether.version.VersionRange.Bound bound = delegate.getUpperBound();
                if (bound == null) {
                    return null;
                }
                return new Boundary() {
                    @Override
                    public Version getVersion() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            } else {
                VersionRange.Bound lowerBound = versionConstraint.getRange().getLowerBound();
                if (lowerBound != null
                        && lowerBound.equals(versionConstraint.getRange().getUpperBound())) {
                    result.addVersion(lowerBound.getVersion());
                } else {
                    Map<String, ArtifactRepository> versionIndex = getVersions(session, result, request);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top