Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1281 - 1290 of 1,450 for SuppressWarnings (0.45 seconds)

  1. android/guava/src/com/google/common/net/InternetDomainName.java

       * <p>Since this field isn't {@code volatile}, if an instance of this class is shared across
       * threads before it is initialized, then each thread is likely to compute their own copy of the
       * value.
       */
      @SuppressWarnings("Immutable")
      @LazyInit
      private int publicSuffixIndexCache = SUFFIX_NOT_INITIALIZED;
    
      /**
       * Cached value of #registrySuffixIndex(). Do not use directly.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(Iterables.limit(result, 2), "db");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b', 'c', 'd', 'd');
      }
    
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedGraph() throws Exception {
        MutableGraph<String> graph = GraphBuilder.directed().build();
        graph.putEdge("a", "b");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     *
     * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code
     * writeObject} methods.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("WrongCommentType") // false positive
    abstract class AbstractMapBasedMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimap<K, V> implements Serializable {
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      }
    
      /** Ensures that {@code o} is not garbage collected until this point in the code. */
      @VisibleForTesting
      // We call the method only after checking that it's present.
      @IgnoreJRERequirement
      @SuppressWarnings({
        "Java8ApiChecker",
        "NewApi",
        // This method is a helper, which we call from a `finally` block, as recommended.
        "ReachabilityFenceUsage",
      })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                log.warn("Copy failed", se);
            }
        }
    
        /**
         * @param src
         * @param dest
         * @param sh
         * @param dh
         * @throws SmbException
         */
        @SuppressWarnings("resource")
        private static void serverSideCopy(final SmbFile src, final SmbFile dest, final SmbTreeHandleImpl sh, final SmbTreeHandleImpl dh,
                final boolean write) throws CIFSException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            cd.setGroupId(extractGroupId(d));
    
            cd.setType(d.getChild("type").getValue());
    
            cd.setVersion(extractVersion(d));
            return cd;
        }
    
        @SuppressWarnings("checkstyle:methodlength")
        public MojoDescriptor buildComponentDescriptor(PlexusConfiguration c, PluginDescriptor pluginDescriptor)
                throws PlexusConfigurationException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/RangeSet.java

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#rangeset">RangeSets</a>.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @DoNotMock("Use ImmutableRangeSet or TreeRangeSet")
    @GwtIncompatible
    public interface RangeSet<C extends Comparable> {
    
      // Query methods
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Test class for NtlmHttpFilter
     *
     * NtlmHttpFilter is deprecated but we test it for backward compatibility
     */
    @SuppressWarnings("deprecation")
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NtlmHttpFilterTest {
    
        private NtlmHttpFilter filter;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.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 abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> {
      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

          // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
          // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
          // Graph<LinkedList>.
          @SuppressWarnings("unchecked")
          @Override
          public boolean contains(@Nullable Object obj) {
            if (!(obj instanceof EndpointPair)) {
              return false;
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top