Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for restriction (0.16 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

                return true;
            }
    
            if (!(other instanceof Restriction)) {
                return false;
            }
    
            Restriction restriction = (Restriction) other;
            if (lowerBound != null) {
                if (!lowerBound.equals(restriction.lowerBound)) {
                    return false;
                }
            } else if (restriction.lowerBound != null) {
                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)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            List<Restriction> restrictions = range.getRestrictions();
            assertEquals(1, restrictions.size(), CHECK_NUM_RESTRICTIONS);
            Restriction restriction = restrictions.get(0);
            assertNull(restriction.getLowerBound(), CHECK_LOWER_BOUND);
            assertFalse(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE);
            assertEquals("1.0", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         */
        public VersionRange restrict(VersionRange restriction) {
            List<Restriction> r1 = this.restrictions;
            List<Restriction> r2 = restriction.restrictions;
            List<Restriction> restrictions;
    
            if (r1.isEmpty() || r2.isEmpty()) {
                restrictions = Collections.emptyList();
            } else {
                restrictions = Collections.unmodifiableList(intersection(r1, r2));
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

            }
    
            VersionRange range = artifact.getVersionRange();
            if (range != null) {
                for (Restriction restriction : range.getRestrictions()) {
                    if (isSnapshot(restriction.getLowerBound()) || isSnapshot(restriction.getUpperBound())) {
                        return RELEASE_OR_SNAPSHOT;
                    }
                }
            }
    
            return RELEASE;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. apache-maven/src/main/appended-resources/licenses/MIT.txt

     Copyright <YEAR> <COPYRIGHT HOLDER>
    
     Permission is hereby granted, free  of charge, to any person obtaining
     a  copy  of this  software  and  associated  documentation files  (the
     "Software"), to  deal in  the Software without  restriction, including
     without limitation  the rights to  use, copy, modify,  merge, publish,
     distribute,  sublicense, and/or sell  copies of  the Software,  and to
     permit persons to whom the Software  is furnished to do so, subject to
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. licenses/github.com/BurntSushi/toml/internal/toml-test/COPYING

    Copyright (c) 2018 TOML authors
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 03 22:58:15 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. licenses/github.com/alecthomas/participle/v2/COPYING

    Copyright (C) 2017-2022 Alec Thomas
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of
    this software and associated documentation files (the "Software"), to deal in
    the Software without restriction, including without limitation the rights to
    use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
    of the Software, and to permit persons to whom the Software is furnished to do
    so, subject to the following conditions:
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Apr 08 17:05:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. licenses/github.com/blang/semver/v4/LICENSE

    Copyright (c) 2014 Benedikt Lang <github at benediktlang.de>
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Sep 12 18:41:53 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. LICENSES/vendor/github.com/armon/go-socks5/LICENSE

    Copyright (c) 2014 Armon Dadgar
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of
    this software and associated documentation files (the "Software"), to deal in
    the Software without restriction, including without limitation the rights to
    use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
    the Software, and to permit persons to whom the Software is furnished to do so,
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Jan 21 10:49:41 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. licenses/github.com/stretchr/testify/LICENSE

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 07 01:52:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top