Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1041 - 1050 of 1,148 for SuppressWarnings (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            this.repositoryEventDispatcher =
                    Objects.requireNonNull(repositoryEventDispatcher, "repositoryEventDispatcher cannot be null");
        }
    
        @SuppressWarnings("checkstyle:methodlength")
        @Override
        public VersionResult resolveVersion(RepositorySystemSession session, VersionRequest request)
                throws VersionResolutionException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          }
        },
        OLD {
          @Override
          <T> Facade<T> newFacade() {
            return new OldAbstractFutureFacade<T>();
          }
        };
    
        abstract <T> Facade<T> newFacade();
      }
    
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
      static void awaitWaiting(Thread t) {
        while (true) {
          Thread.State state = t.getState();
          switch (state) {
            case RUNNABLE:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * @throws IllegalStateException if the service manager reaches a state from which it cannot
       *     become {@linkplain #isHealthy() healthy}.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
        state.awaitHealthy(timeout, unit);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  4. guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIdentitySerializable() {
        checkCanReserializeSingleton(Functions.identity());
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testToStringFunction_apply() {
        assertThat(Functions.toStringFunction().apply(3)).isEqualTo("3");
        assertThat(Functions.toStringFunction().apply("hiya")).isEqualTo("hiya");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

        private static final Logger LOGGER = LoggerFactory.getLogger(MojoExecutor.class);
        private static final SessionData.Key<ProjectIndex> PROJECT_INDEX = SessionData.key(ProjectIndex.class);
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        private static final SessionData.Key<Map<MavenProject, OwnerReentrantLock>> PROJECT_LOCKS =
                (SessionData.Key) SessionData.key(Map.class, ProjectLock.class);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/MediaType.java

      @LazyInit private @Nullable String toString;
    
      @LazyInit private int hashCode;
    
      // We need to differentiate between "not computed" and "computed to be absent."
      @SuppressWarnings("NullableOptional")
      @LazyInit
      private @Nullable Optional<Charset> parsedCharset;
    
      private MediaType(String type, String subtype, ImmutableListMultimap<String, String> parameters) {
        this.type = type;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

          }
        };
      }
    
      private static final String KEY = "puppies";
    
      ConcurrentMap<String, AtomicInteger> backingMap;
      ConcurrentHashMultiset<String> multiset;
    
      @SuppressWarnings("unchecked")
      @Override
      protected void setUp() {
        backingMap = mock(ConcurrentMap.class);
        when(backingMap.isEmpty()).thenReturn(true);
    
        multiset = ConcurrentHashMultiset.create(backingMap);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      public MonitorBasedArrayBlockingQueue(int capacity, boolean fair, Collection<? extends E> c) {
        this(capacity, fair);
        checkArgument(capacity >= c.size());
    
        for (E e : c) add(e);
      }
    
      @SuppressWarnings("unchecked") // please don't try this home, kids
      private static <E> E[] newEArray(int capacity) {
        return (E[]) new Object[capacity];
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertEquals("test", updated.get(FieldNames.TEXT));
            assertEquals(25L, updated.get(FieldNames.QUERY_FREQ)); // 20 + 5
            assertEquals(20L, updated.get(FieldNames.DOC_FREQ)); // 10 + 10
    
            @SuppressWarnings("unchecked")
            List<String> tags = (List<String>) updated.get(FieldNames.TAGS);
            assertTrue(tags.contains("existing"));
        }
    
        @Test
        public void testConcatValues() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

     * under the License.
     */
    package org.apache.maven.model;
    
    import java.util.stream.Collectors;
    
    /**
     * Class InputLocation.
     *
     * @version $Revision$ $Date$
     */
    @SuppressWarnings("all")
    public final class InputLocation implements java.io.Serializable, Cloneable, InputLocationTracker {
    
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top