Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 26 for redundant (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

        /**
         * Checks if a subprojects list is redundant (matches direct child directories with pom.xml).
         */
        private boolean isSubprojectsListRedundant(Element subprojectsElement, Path pomPath) {
            List<Element> subprojectElements =
                    subprojectsElement.children(SUBPROJECT).toList();
            if (subprojectElements.isEmpty()) {
                return true; // Empty list is redundant
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
        void inOrder();
      }
    
      @IgnoreJRERequirement // *should* be redundant with the annotation on SpliteratorTester
      private abstract static class GeneralSpliterator<E extends @Nullable Object> {
        final Spliterator<E> spliterator;
    
        GeneralSpliterator(Spliterator<E> spliterator) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * If a plugin version is defined via a property, the property value is updated instead.
     *
     * <h3>Inference Optimizations (Optional)</h3>
     * When {@code --infer} option is enabled, applies inference optimizations to remove redundant information:
     *
     * <h4>Limited Inference for 4.0.0 Models (Maven 3.x POMs)</h4>
     * <ul>
     *   <li><strong>Child GroupId Removal</strong>: Removes child {@code <groupId>} when it matches parent groupId</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CollectSpliterators.java

          @Nullable Comparator<? super T> comparator) {
        if (comparator != null) {
          checkArgument((extraCharacteristics & Spliterator.SORTED) != 0);
        }
        /*
         * @IgnoreJRERequirement should be redundant with the one on Streams itself, but it's necessary
         * as of Animal Sniffer 1.24. Maybe Animal Sniffer processes this nested class before it
         * processes Streams and thus hasn't had a chance to see Streams's annotation?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/InputValidator.java

         */
        public static String normalizeSmbPath(String path) {
            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            return CacheStrategy(request, null)
          }
    
          // If this response shouldn't have been stored, it should never be used as a response source.
          // This check should be redundant as long as the persistence store is well-behaved and the
          // rules are constant.
          if (!isCacheable(cacheResponse, request)) {
            return CacheStrategy(request, null)
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                if (upcastCount == l) {
                    return upcastCount;
                }
            }
    
            // Examine interfaces. Note we do it even if superclazz == null.
            // This is redundant as currently java.lang.Object does not implement
            // any interfaces, however nothing guarantees it will not in the future.
            Class<?>[] interfaces = clazz.getInterfaces();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

            ByteArrayOutputStream stdout = new ByteArrayOutputStream();
            ByteArrayOutputStream stderr = new ByteArrayOutputStream();
    
            final ExecResult execResult = execOperations.exec(spec -> {
                // The redundant cast is to silence a compiler warning.
                spec.setCommandLine((Object[]) args);
                spec.setStandardOutput(stdout);
                spec.setErrorOutput(stderr);
                spec.setIgnoreExitValue(true);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *
       *   o REMOVE lines track entries that have been deleted.
       *
       * The journal file is appended to as cache operations occur. The journal may occasionally be
       * compacted by dropping redundant lines. A temporary file named "journal.tmp" will be used during
       * compaction; that file should be deleted if it exists when the cache is opened.
       */
    
      private val journalFile: Path
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/MoreFiles.java

       */
      public static ByteSource asByteSource(Path path, OpenOption... options) {
        return new PathByteSource(path, options);
      }
    
      @IgnoreJRERequirement // *should* be redundant with the one on MoreFiles itself
      private static final class PathByteSource extends
          ByteSource
      {
    
        private static final LinkOption[] FOLLOW_LINKS = {};
    
        private final Path path;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
Back to Top