Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,007 for SuppressWarnings (0.28 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                }
    
                if (dependencyArtifact != null) {
                    artifacts.add(dependencyArtifact);
                }
            }
    
            return artifacts;
        }
    
        @SuppressWarnings("checkstyle:methodlength")
        private ProjectRelocation retrieveRelocatedProject(Artifact artifact, MetadataResolutionRequest repositoryRequest)
                throws ArtifactMetadataRetrievalException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      }
    
      public void testValuesToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[b, a, c]", table.values().toString());
      }
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testRowComparator() {
        sortedTable = TreeBasedTable.create();
        assertSame(Ordering.natural(), sortedTable.rowComparator());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Strings.java

            builder.append(prefix);
            builder.append(lenientToString(args[i]));
            prefix = ", ";
          }
          builder.append(']');
        }
    
        return builder.toString();
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static String lenientToString(@Nullable Object o) {
        if (o == null) {
          return "null";
        }
        try {
          return o.toString();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

         *
         * @param session the HTTP session
         * @return the result document IDs cache map
         */
        private Map<String, String[]> getResultDocIdsCache(final HttpSession session) {
            @SuppressWarnings("unchecked")
            Map<String, String[]> resultDocIdsCache = (Map<String, String[]>) session.getAttribute(Constants.RESULT_DOC_ID_CACHE);
            if (resultDocIdsCache == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        AtomicDoubleArray a = new AtomicDoubleArray(1);
        a.set(0, 1.0);
        Thread t =
            newStartedThread(
                new CheckedRunnable() {
                  @Override
                  @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races
                  public void realRun() {
                    while (!a.compareAndSet(0, 2.0, 3.0)) {
                      Thread.yield();
                    }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        LoadingCache<String, String> cache =
            builder.build(
                new CacheLoader<String, String>() {
                  @Override
                  @SuppressWarnings("CacheLoaderNull") // test of broken user implementation
                  public String load(String key) throws InterruptedException {
                    callCount.incrementAndGet();
                    startSignal.await();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

    /**
     * Tests relating to cache expiration: make sure entries expire at the right times, make sure
     * expired entries don't show up, etc.
     *
     * @author mike nonemacher
     */
    @SuppressWarnings("deprecation") // tests of deprecated method
    @NullUnmarked
    public class CacheExpirationTest extends TestCase {
    
      private static final long EXPIRING_TIME = 1000;
      private static final int VALUE_PREFIX = 12345;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        @Override
        public E next() {
          if (cursor >= array.length) throw new NoSuchElementException();
          lastRet = cursor;
    
          // array comes from q.toArray() and so should have only E's in it
          @SuppressWarnings("unchecked")
          E e = (E) array[cursor++];
          return e;
        }
    
        @Override
        public void remove() {
          if (lastRet < 0) throw new IllegalStateException();
          Object x = array[lastRet];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        // quite expensive (quadratic in the size of PSEUDORANDOM_DATASET).
        double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET);
        @SuppressWarnings("unused")
        double actual = percentiles().index(33).computeInPlace(dataset);
        assertThat(dataset).usingExactEquality().containsExactlyElementsIn(PSEUDORANDOM_DATASET);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top