Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,112 for SuppressWarnings (0.25 seconds)

  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;
                }
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

      public static <E> SetTestSuiteBuilder<E> using(TestSetGenerator<E> generator) {
        return new SetTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

            Proxy.newProxyInstance(
                interfaceClasses.iterator().next().getClassLoader(),
                interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]),
                new DummyHandler(interfaceType));
        @SuppressWarnings("unchecked") // interfaceType is T
        T result = (T) dummy;
        return result;
      }
    
      /** Returns the dummy return value for {@code returnType}. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. 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;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

                    artifact.getClassifier(),
                    remoteRepositories,
                    artifact.getDownloadUrl(),
                    artifact.getDependencyTrail(),
                    cause);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        public ArtifactNotFoundException(
                String message,
                String groupId,
                String artifactId,
                String version,
                String type,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

        }
    
        /**
         * Opens a directory for enumeration
         *
         * @return the opened directory file entry
         * @throws CIFSException if an error occurs opening the directory
         */
        @SuppressWarnings("resource")
        @Override
        protected FileEntry open() throws CIFSException {
            final SmbTreeHandleImpl th = getTreeHandle();
            final String uncPath = getParent().getLocator().getUNCPath();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MoreCollectors.java

       */
      @SuppressWarnings("unchecked")
      public static <T extends @Nullable Object> Collector<T, ?, T> onlyElement() {
        return (Collector) ONLY_ELEMENT;
      }
    
      /**
       * This atrocity is here to let us report several of the elements in the stream if there were more
       * than one, not just two.
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThrows(NullPointerException.class, () -> Booleans.toArray(list));
      }
    
      @SuppressWarnings({"CollectionIsEmptyTruth", "CollectionIsNotEmptyTruth"})
      public void testAsListIsEmpty() {
        assertThat(Booleans.asList(EMPTY).isEmpty()).isTrue();
        assertThat(Booleans.asList(ARRAY_FALSE).isEmpty()).isFalse();
      }
    
      @SuppressWarnings("CollectionSizeTruth")
      public void testAsListSize() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 25.2K bytes
    - Click Count (0)
  10. 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();
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top