Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,007 for SuppressWarnings (0.23 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        //                                                                          Validation
        //                                                                          ==========
        @SuppressWarnings("unchecked")
        /**
         * Creates a validator instance for form validation.
         * This method uses the system helper to create a validator with Fess-specific messages.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    @NullMarked
    public class UnmodifiableCollectionTests {
    
      public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) {
        try {
          // fine because the call is going to fail without modifying the entry
          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  3. android/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:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return MapTestSuiteBuilder.using(
                new TestStringMapGenerator() {
                  @Override
                  // We are testing Hashtable / testing our tests on Hashtable.
                  @SuppressWarnings("JdkObsolete")
                  protected Map<String, String> create(Entry<String, String>[] entries) {
                    return populate(new Hashtable<String, String>(), entries);
                  }
                })
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

        }
    
        /**
         * Get values from array index.
         * @param index Index
         * @param type Type
         * @param key Key
         * @return Values
         */
        @SuppressWarnings("unchecked")
        protected Map<String, Object>[] getFromArrayIndex(final String index, final String type, final String key) {
            final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH);
            try {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     */
    @GwtCompatible
    @SuppressWarnings("AlwaysThrows")
    @NullMarked
    public class ImmutableMapTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

       *
       * @throws IOException if the InputStream throws an {@code IOException}, or if its data does not
       *     appear to be a BloomFilter serialized using the {@linkplain #writeTo(OutputStream)} method.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public static <T extends @Nullable Object> BloomFilter<T> readFrom(
          InputStream in, Funnel<? super T> funnel) throws IOException {
        checkNotNull(in, "InputStream");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @param b the second unsigned {@code long} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL
      public static int compare(long a, long b) {
        return Longs.compare(flip(a), flip(b));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            typeVariables = getTypeVariableMap(beanClass);
            setupConstructorDescs();
            setupPropertyDescs();
            setupMethodDescs();
            setupFieldDescs();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public <T> Class<T> getBeanClass() {
            return (Class<T>) beanClass;
        }
    
        @Override
        public Map<TypeVariable<?>, Type> getTypeVariables() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        }
    
        /**
         * Converts a string to a {@link Date}.
         *
         * @param str the string
         * @param locale the locale
         * @return the converted {@link Date}
         */
        @SuppressWarnings("unchecked")
        protected static Date toDate(final String str, final Locale locale) {
            for (final DateFormat format : iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top