Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,105 for SuppressWarnings (0.06 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

    import org.apache.maven.logging.BuildEventListener;
    import org.jline.terminal.Terminal;
    import org.slf4j.ILoggerFactory;
    
    import static java.util.Objects.requireNonNull;
    
    @SuppressWarnings("VisibilityModifier")
    public class LookupContext implements AutoCloseable {
        public final InvokerRequest invokerRequest;
        public final CWD cwd;
        public final Path installationDirectory;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

    import org.apache.maven.project.artifact.InvalidDependencyVersionException;
    
    /**
     * Default component responsible for creation of MavenProject#dependencyArtifacts instances.
     */
    @SuppressWarnings("deprecation")
    @Named
    public class DefaultProjectArtifactFactory implements ProjectArtifactFactory {
        private final ArtifactFactory artifactFactory;
    
        @Inject
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            return this;
        }
    
        @SuppressWarnings("checkstyle:methodlength")
        @Override
        public ModelBuildingResult build(ModelBuildingRequest request) throws ModelBuildingException {
            return build(request, new LinkedHashSet<>());
        }
    
        @SuppressWarnings("checkstyle:methodlength")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ClassUtil.java

         * @throws ClassNotFoundRuntimeException
         *             If the class cannot be found
         * @see Class#forName(String, boolean, ClassLoader)
         */
        @SuppressWarnings("unchecked")
        public static <T> Class<T> forName(final String className, final ClassLoader loader) throws ClassNotFoundRuntimeException {
            assertArgumentNotEmpty("className", className);
            try {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertThat(set0).isEmpty();
    
        @SuppressWarnings("unchecked") // using a legacy comparable
        ImmutableSortedSet<LegacyComparable> set1 = ImmutableSortedSet.of(LegacyComparable.Z);
        assertThat(set1).containsExactly(LegacyComparable.Z);
    
        @SuppressWarnings("unchecked") // using a legacy comparable
        ImmutableSortedSet<LegacyComparable> set2 =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.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 MapEntrySetTester<K, V> extends AbstractMapTester<K, V> {
      private enum IncomparableType {
        INSTANCE;
      }
    
      @CollectionSize.Require(ONE)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        public Iterator<E> descendingIterator() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.descendingIterator();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @SuppressWarnings("CheckReturnValue")
      public void testHoldsLockOnAllOperations() {
        create().element();
        create().offer("foo");
        create().peek();
        create().poll();
        create().remove();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EnumBiMap.java

        stream.defaultWriteObject();
        stream.writeObject(keyTypeOrObjectUnderJ2cl);
        stream.writeObject(valueTypeOrObjectUnderJ2cl);
        Serialization.writeMap(this, stream);
      }
    
      @SuppressWarnings("unchecked") // reading fields populated by writeObject
      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.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 MapEntrySetTester<K, V> extends AbstractMapTester<K, V> {
      private enum IncomparableType {
        INSTANCE;
      }
    
      @CollectionSize.Require(ONE)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

        return QueueTestSuiteBuilder.using(
                new TestStringQueueGenerator() {
                  @Override
                  // We are testing LinkedList / testing our tests on LinkedList.
                  @SuppressWarnings("JdkObsolete")
                  public Queue<String> create(String[] elements) {
                    return new LinkedList<>(MinimalCollection.of(elements));
                  }
                })
            .named("LinkedList")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top