Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 985 for SuppressWarnings (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.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 ListIndexOfTester<E> extends AbstractListIndexOfTester<E> {
      @Override
      protected int find(Object o) {
        return getList().indexOf(o);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/JdkBackedImmutableSet.java

      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int size() {
        return delegateList.size();
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return super.writeReplace();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 22:23:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                      @Override
                      public String[] createKeyArray(int length) {
                        return new String[length];
                      }
    
                      @SuppressWarnings("unchecked")
                      @Override
                      public Collection<String>[] createValueArray(int length) {
                        return (Collection<String>[]) new Collection<?>[length];
                      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            this.uncPath = this.pipe.getUncPath();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T extends SmbPipeHandle> T unwrap(final Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      String text;
    
      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
      private static final Splitter STRING_SPLITTER = Splitter.on("X");
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        input = Strings.repeat(text, length);
      }
    
      @Benchmark
      int charSplitter(int reps) {
        int total = 0;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java

     */
    @GwtCompatible // but no-op
    @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 MultisetSerializationTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testEntrySetSerialization() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

    @AndroidIncompatible // test-suite builders
    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
        @SuppressWarnings("rawtypes") // class literals
        @Override
        protected List<Class<? extends AbstractTester>> getTesters() {
          return Collections.<Class<? extends AbstractTester>>singletonList(MyTester.class);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java

     */
    @GwtCompatible // but no-op
    @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 MultisetSerializationTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testEntrySetSerialization() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

       * While the current implementation returns `this`, that's not something we mean to guarantee.
       * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
       * collection.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      @Override
      public List<String> order(List<String> insertionOrder) {
        sort(insertionOrder);
        return insertionOrder;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.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 ListMultimapEqualsTester<K, V> extends AbstractListMultimapTester<K, V> {
      @CollectionSize.Require(SEVERAL)
      public void testOrderingAffectsEqualsComparisons() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top