Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1341 - 1350 of 1,450 for SuppressWarnings (0.29 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultConsumerPomBuilder.class);
    
        private final LifecycleBindingsInjector lifecycleBindingsInjector;
    
        @Inject
        @SuppressWarnings("checkstyle:ParameterNumber")
        DefaultConsumerPomBuilder(LifecycleBindingsInjector lifecycleBindingsInjector) {
            this.lifecycleBindingsInjector = lifecycleBindingsInjector;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  2. 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.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. 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");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. 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 {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      @SuppressWarnings("ArrayAsKeyOfSetOrMap")
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
        Multiset<String[]> multiset = ImmutableMultiset.<String[]>of(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Functions.java

       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> Function<E, E> identity() {
        return (Function<E, E>) IdentityFunction.INSTANCE;
      }
    
      // enum singleton pattern
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

       */
      protected Map<K, V> makeEitherMap() {
        try {
          return makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return makeEmptyMap();
        }
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      protected final boolean supportsValuesHashCode(Map<K, V> map) {
        // get the first non-null value
        Collection<V> values = map.values();
        for (V value : values) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Functions.java

       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> Function<E, E> identity() {
        return (Function<E, E>) IdentityFunction.INSTANCE;
      }
    
      // enum singleton pattern
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  9. 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");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 10 22:28:12 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            }
        }
    
        private void assertHighlightedQueries(Set<String> highlightedQuerySet) {
            @SuppressWarnings("unchecked")
            Set<String> set = (Set<String>) getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES);
            if (highlightedQuerySet != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 53.2K bytes
    - Click Count (0)
Back to Top