Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for restriction (0.12 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/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)
  7. internal/ringbuffer/LICENSE

    MIT License
    
    Copyright (c) 2019 smallnest
    
    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: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. LICENSES/third_party/forked/vishhstress/LICENSE

    MIT License
    
    Copyright (c) 2024 Vish Kannan
    
    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: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 13 14:21:05 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. LICENSES/vendor/github.com/Microsoft/hnslib/LICENSE

    MIT License
    
    Copyright (c) 2024 Microsoft
    
    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: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Mon Oct 14 17:44:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. licenses/go.uber.org/zap/LICENSE

    Copyright (c) 2016-2017 Uber Technologies, Inc.
    
    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: Wed Mar 06 17:00:14 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top