Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,007 for SuppressWarnings (0.42 sec)

  1. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Use reflection to access concurrent collections
            Field connectionsField = SmbTransportPoolImpl.class.getDeclaredField("connections");
            connectionsField.setAccessible(true);
            @SuppressWarnings("unchecked")
            java.util.concurrent.ConcurrentLinkedQueue<SmbTransportImpl> connections =
                    (java.util.concurrent.ConcurrentLinkedQueue<SmbTransportImpl>) connectionsField.get(pool);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.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 ListMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractListMultimapTester<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.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 ListMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractListMultimapTester<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

          assertEquals(ImmutableMap.of(5, 'x'), row);
        }
      }
    
      @SuppressWarnings("unchecked") // C can only be @Nullable Character or Character
      protected @NonNull C cellValue(Character character) {
        return (C) character;
      }
    
      // Only safe wrt. ClassCastException. Not null-safe (can be used to test expected Table NPEs)
      @SuppressWarnings("unchecked")
      protected C nullableCellValue(@Nullable Character character) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

                String classifier,
                String artifactUri) {
            this(groupId, name, version, type, artifactScope, classifier, artifactUri, null, true, null);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        public ArtifactMetadata(
                String groupId,
                String name,
                String version,
                String type,
                ArtifactScopeEnum artifactScope,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

    /**
     * Tests for {@code ForwardingListIterator}.
     *
     * @author Robert Konigsberg
     */
    @NullUnmarked
    public class ForwardingListIteratorTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                ListIterator.class,
                new Function<ListIterator, ListIterator<?>>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link AbstractMultiset}.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible
    @NullMarked
    public class SimpleAbstractMultisetTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      public void testNewLinkedHashSetEmpty() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        LinkedHashSet<Integer> set = Sets.newLinkedHashSet();
        verifyLinkedHashSetContents(set, EMPTY_COLLECTION);
      }
    
      public void testNewLinkedHashSetFromCollection() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/JoinerTest.java

      /*
       * Both of these fields *are* immutable/constant. They don't use the type ImmutableList because
       * they need to behave slightly differently.
       */
      @SuppressWarnings("ConstantCaseForConstants")
      private static final List<Integer> UNDERREPORTING_SIZE_LIST;
    
      @SuppressWarnings("ConstantCaseForConstants")
      private static final List<Integer> OVERREPORTING_SIZE_LIST;
    
      static {
        List<Integer> collection123 = Arrays.asList(1, 2, 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          return file;
        }
    
        File getFile() {
          return fileThreadLocal.get();
        }
    
        // acts as an override in subclasses that implement SourceSinkFactory
        @SuppressWarnings("EffectivelyPrivate")
        public final void tearDown() throws IOException {
          if (!fileThreadLocal.get().delete()) {
            logger.warning("Unable to delete file: " + fileThreadLocal.get());
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top