Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 1,007 for SuppressWarnings (0.34 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.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 CollectionToArrayTester<E> extends AbstractCollectionTester<E> {
      public void testToArray_noArgs() {
        Object[] array = collection.toArray();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

              .put(1, 0x8199675ecaa6fe64L)
              .put(0, 0x23ad7c904aa665e3L)
              .build();
      private static final HashFunction HASH_FN = Hashing.fingerprint2011();
    
      // If this test fails, all bets are off
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testReallySimpleFingerprints() {
        assertEquals(8473225671271759044L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/GraphBuilder.java

        newBuilder.nodeOrder = nodeOrder;
        newBuilder.expectedNodeCount = expectedNodeCount;
        newBuilder.incidentEdgeOrder = incidentEdgeOrder;
        return newBuilder;
      }
    
      @SuppressWarnings("unchecked")
      private <N1 extends N> GraphBuilder<N1> cast() {
        return (GraphBuilder<N1>) this;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TableCollectors.java

         * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector,
         * so its return value will get used naturally.
         */
        @SuppressWarnings("CanIgnoreReturnValueSuggester")
        ImmutableTableCollectorState<R, C, V> combine(
            ImmutableTableCollectorState<R, C, V> other, BinaryOperator<V> merger) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Throwables.java

          (jla == null) ? null : getSizeMethod(jla);
    
      /**
       * Returns the JavaLangAccess class that is present in all Sun JDKs. It is not allowed in
       * AppEngine, and not present in non-Sun JDKs.
       */
      @SuppressWarnings("removal") // b/318391980
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      private static @Nullable Object getJla() {
        try {
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  9. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableListMultimap<K, V> of() {
        return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top