Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,105 for SuppressWarnings (0.06 sec)

  1. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @since 2.0
     */
    @DoNotMock("Use ImmutableList.of or another implementation")
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) {
          this.setUpRan = setUpRan;
        }
    
        @Override
        Map<String, String> wrap(HashMap<String, String> map) {
          @SuppressWarnings("unchecked")
          Map<String, String> proxy =
              Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan));
          return proxy;
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            this.basedir = basedir;
        }
    
        @Override
        public Object evaluate(String expr) throws ExpressionEvaluationException {
            return evaluate(expr, null);
        }
    
        @Override
        @SuppressWarnings("checkstyle:methodlength")
        public Object evaluate(String expr, Class<?> type) throws ExpressionEvaluationException {
            Object value = null;
    
            if (expr == null) {
                return null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        private SimpleProblemCollector validateRaw(String pom) throws Exception {
            return validateRaw(pom, UnaryOperator.identity());
        }
    
        @SuppressWarnings("SameParameterValue")
        private SimpleProblemCollector validateEffective(String pom, int level) throws Exception {
            return validateEffective(pom, mbr -> mbr.setValidationLevel(level));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/TempFileCreator.java

          }
        }
      }
    
      private static final class JavaIoCreator extends TempFileCreator {
        @Override
        File createTempDir() {
          File baseDir = new File(JAVA_IO_TMPDIR.value());
          @SuppressWarnings("GoodTime") // reading system time without TimeSource
          String baseName = System.currentTimeMillis() + "-";
    
          for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 18:50:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

    import org.codehaus.plexus.util.StringUtils;
    
    /**
     * Handles inheritance of model values.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @SuppressWarnings({"checkstyle:methodname"})
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultInheritanceAssembler implements InheritanceAssembler {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterables.java

       * unchecked cast at some later point:
       *
       * {@snippet :
       * @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());
       * }
       */
      @SuppressWarnings("unchecked")
      @GwtIncompatible // Class.isInstance
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MapPutAllTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMapTester<K, V> {
      private List<Entry<K, V>> containsNullKey;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapRemoveEntryTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAbsent() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

          TestSortedMapGenerator<K, V> generator) {
        NavigableMapTestSuiteBuilder<K, V> result = new NavigableMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top