Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,060 for SuppressWarnings (0.22 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy

                baseProperty: [(TYPE): Small],
                subclassProperty: [(TYPE): Large]
            ]
        }
    
        @SuppressWarnings("unused")
        interface BaseTypeWithSuperClassProperties {
            @Small
            String getBaseProperty()
        }
    
        @SuppressWarnings("unused")
        interface TypeWithSuperclassProperties extends BaseTypeWithSuperClassProperties {
            @Large
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 11 15:31:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      private static class VisibilityMethods {
    
        @SuppressWarnings("unused") // Called by reflection
        private void privateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        void packagePrivateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        protected void protectedMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        }
    
        // ignored by testEquals()
        GoodEquals(@SuppressWarnings("unused") NotInstantiable x) {
          this.a = "x";
          this.b = -1;
        }
    
        // will keep trying
        public GoodEquals(@SuppressWarnings("unused") NotInstantiable x, int b) {
          this.a = "x";
          this.b = b;
        }
    
        // keep trying
        @SuppressWarnings("unused")
        static GoodEquals create(int a, int b) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/util/WrapUtil.java

         */
        @SafeVarargs
        @SuppressWarnings("varargs")
        public static <T> Set<T> toSet(T... items) {
            logDeprecation(7);
            Set<T> coll = new HashSet<T>();
            Collections.addAll(coll, items);
            return coll;
        }
    
        /**
         * Wraps the given items in a mutable domain object set.
         */
        @SafeVarargs
        @SuppressWarnings("varargs")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 28 16:04:22 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/functional/src/main/java/org/gradle/internal/ExtendedOptional.java

            return delegate.orElseGet(supplier);
        }
    
        @SuppressWarnings("unused")
        public T orElseThrow() {
            T value = delegate.orElse(null);
            if (value == null) {
                throw new NoSuchElementException("No value present");
            }
            return value;
        }
    
        @SuppressWarnings("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/DenseImmutableTable.java

      private final ImmutableMap<C, ImmutableMap<R, V>> columnMap;
    
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] rowCounts;
    
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final int[] columnCounts;
    
      @SuppressWarnings("Immutable") // We don't modify this after construction.
      private final @Nullable V[][] values;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/util/internal/WrapUtil.java

         */
        @SafeVarargs
        @SuppressWarnings("varargs")
        public static <T> Set<T> toSet(T... items) {
            Set<T> coll = new HashSet<T>();
            Collections.addAll(coll, items);
            return coll;
        }
    
        /**
         * Wraps the given items in a mutable domain object set.
         */
        @SafeVarargs
        @SuppressWarnings("varargs")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:11 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/AbstractResolutionFailureDescriber.java

            @SuppressWarnings("DataFlowIssue") Map<Attribute<?>, ?> compatibleAttrs = assessedCandidate.getCompatibleAttributes().stream()
                .collect(Collectors.toMap(AssessedAttribute::getAttribute, AssessedAttribute::getProvided, (a, b) -> a));
            @SuppressWarnings("DataFlowIssue") List<String> onlyOnProducer = assessedCandidate.getOnlyOnCandidateAttributes().stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/AbstractCodeQualityPlugin.java

            return project.getIsolated().getRootProject().getProjectDirectory();
        }
    
        @SuppressWarnings("rawtypes")
        protected Class<? extends Plugin> getBasePlugin() {
            return JavaBasePlugin.class;
        }
    
        protected void beforeApply() {
        }
    
        @SuppressWarnings("deprecation")
        protected void createConfigurations() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        return CollectCollectors.toImmutableSortedSet(comparator);
      }
    
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedSet<E> of() {
        return (ImmutableSortedSet<E>) NATURAL_EMPTY_SET;
      }
    
      public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1) {
        return ofInternal(Ordering.natural(), e1);
      }
    
      @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top