Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,105 for SuppressWarnings (0.05 sec)

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

          Iterables.removeIf(unfiltered, predicate);
        }
    
        @Override
        public boolean contains(@Nullable Object element) {
          if (safeContains(unfiltered, element)) {
            @SuppressWarnings("unchecked") // element is in unfiltered, so it must be an E
            E e = (E) element;
            return predicate.apply(e);
          }
          return false;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

         */
        protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException {
            final byte[] buf = new byte[8192];
    
            @SuppressWarnings("resource")
            final ServletOutputStream out = resp.getOutputStream();
            String url;
            int n;
            try (SmbFileInputStream in = new SmbFileInputStream(file)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                    searchLog.setLanguages(StringUtils.join((String[]) languages, ","));
                } else {
                    searchLog.setLanguages(StringUtil.EMPTY);
                }
    
                @SuppressWarnings("unchecked")
                final Map<String, List<String>> fieldLogMap = (Map<String, List<String>>) req.getAttribute(Constants.FIELD_LOGS);
                if (fieldLogMap != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            BloomFilter.create(Funnels.unencodedCharsFunnel(), Integer.MAX_VALUE / 2, 0.30);
        unused = BloomFilter.create(Funnels.unencodedCharsFunnel(), 45L * Integer.MAX_VALUE, 0.99);
      }
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      private static void checkSanity(BloomFilter<Object> bf) {
        assertFalse(bf.mightContain(new Object()));
        assertFalse(bf.apply(new Object()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      public void testAnd_serializationIterable() {
        checkSerialization(Predicates.and(Arrays.asList(TRUE, FALSE)));
      }
    
      public void testAnd_arrayDefensivelyCopied() {
        @SuppressWarnings("unchecked") // generic arrays
        Predicate<Object>[] array = (Predicate<Object>[]) new Predicate<?>[] {Predicates.alwaysFalse()};
        Predicate<Object> predicate = Predicates.and(array);
        assertFalse(predicate.apply(1));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

      private static final short GREATEST = Short.MAX_VALUE;
    
      private static final short[] VALUES = {LEAST, (short) -1, (short) 0, (short) 1, GREATEST};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (short value : VALUES) {
          assertThat(Shorts.hashCode(value)).isEqualTo(Short.hashCode(value));
        }
      }
    
      public void testCheckedCast() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(buildPath + "/test-run", pom.getValue("build/testResources[2]/targetPath"));
            assertPathSuffixEquals("src/test/data", pom.getValue("build/testResources[2]/directory"));
        }
    
        @SuppressWarnings("checkstyle:MethodLength")
        private void testCompleteModel(PomTestWrapper pom) throws Exception {
            assertEquals("4.0.0", pom.getValue("modelVersion"));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Equivalence.java

     */
    @GwtCompatible
    /*
     * The type parameter is <T> rather than <T extends @Nullable> so that we can use T in the
     * doEquivalent and doHash methods to indicate that the parameter cannot be null.
     */
    @SuppressWarnings("UngroupedOverloads")
    public abstract class Equivalence<T> {
      /** Constructor for use by subclasses. */
      protected Equivalence() {}
    
      /**
       * Returns {@code true} if the given objects are considered equivalent.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * @param b the second unsigned {@code int} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL
      public static int compare(int a, int b) {
        return Ints.compare(flip(a), flip(b));
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. android/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: Tue Sep 16 18:35:28 UTC 2025
    - 43.8K bytes
    - Viewed (0)
Back to top