Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 985 for SuppressWarnings (0.1 sec)

  1. src/main/java/org/codelibs/core/misc/Tuple3.java

                return true;
            }
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
                return false;
            }
            @SuppressWarnings("unchecked")
            final Tuple3<T1, T2, T3> other = (Tuple3<T1, T2, T3>) obj;
            if (value1 == null) {
                if (other.value1 != null) {
                    return false;
                }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A descending wrapper around an {@code ImmutableSortedMultiset}
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    @GwtIncompatible
    final class DescendingImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> {
      private final transient ImmutableSortedMultiset<E> forward;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
      @SuppressWarnings("removal") // b/260137033
      public static void awaitDone(Future<?> future) {
        if (future.isDone()) {
          return;
        }
        long timeoutSeconds = timeoutSeconds();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
        }
    
        @Override
        public final String getPropertyName() {
            return propertyName;
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public final <T> Class<T> getPropertyType() {
            return (Class<T>) propertyType;
        }
    
        @Override
        public final Method getReadMethod() {
            return readMethod;
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

    import org.codelibs.core.beans.ConstructorDesc;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class ConstructorDescTest {
    
        /**
         * @throws Exception
         */
        @SuppressWarnings("rawtypes")
        @Test
        public void testDefaultConstructor() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final ConstructorDesc ctor = beanDesc.getConstructorDesc();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapKeySet.java

      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return super.writeReplace();
      }
    
      // No longer used for new writes, but kept so that old data can still be read.
      @GwtIncompatible
      @J2ktIncompatible
      @SuppressWarnings("unused")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          Helpers.addAll(elements, Helpers.reverse(nextElements));
          return elements;
        }
      }
    
      public enum KnownOrder {
        KNOWN_ORDER,
        UNKNOWN_ORDER
      }
    
      @SuppressWarnings("unchecked") // TODO(cpovirk): Stop using arrays.
      AbstractIteratorTester(
          int steps,
          Iterable<E> elementsToInsertIterable,
          Iterable<? extends IteratorFeature> features,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<Class, Impl> create(Object... elements) {
                        ImmutableClassToInstanceMap.Builder<Impl> builder =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

    /**
     * Tests for {@link Multimap#putAll(Object, Iterable)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    @SuppressWarnings({
      // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
      "JUnit4ClassUsedInJUnit3",
      // We use ::iterator so that we test passing a plain Iterable, not a Collection.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableMap} with exactly one entry.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
    
      final transient K singleKey;
      final transient V singleValue;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top