Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1261 - 1270 of 1,450 for SuppressWarnings (0.26 seconds)

  1. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

         *
         * @param map the source map.
         * @param key the key to look up.
         * @return the map value, or {@code null} if not found or not a map.
         */
        @SuppressWarnings("unchecked")
        protected Map<String, Object> getMapValue(final Map<String, Object> map, final String key) {
            final Object value = map.get(key);
            if (value instanceof Map) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for IteratorTester.
     *
     * @author Mick Killianey
     */
    @GwtCompatible
    @SuppressWarnings("serial") // No serialization is used in this test
    public class IteratorTesterTest extends TestCase {
    
      public void testCanCatchDifferentLengthOfIteration() {
        IteratorTester<Integer> tester =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            result.addAll(project.getArtifacts());
            result.addAll(getAttachedArtifacts(project));
            return Collections.unmodifiableCollection(result);
        }
    
        @Override
        @SuppressWarnings("deprecation")
        public void attachArtifact(@Nonnull Project project, @Nonnull ProducedArtifact artifact, @Nonnull Path path) {
            requireNonNull(project, "project cannot be null");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/DiscreteDomain.java

     * <p>See the Guava User Guide section on <a href=
     * "https://github.com/google/guava/wiki/RangesExplained#discrete-domains">{@code
     * DiscreteDomain}</a>.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible
    public abstract class DiscreteDomain<C extends Comparable> {
    
      /**
       * Returns the discrete domain for values of type {@code Integer}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                private final RepositoryMerging repositoryMerging;
                private final List<RemoteRepository> repositories;
                private final ModelTransformer lifecycleBindingsInjector;
    
                @SuppressWarnings("checkstyle:ParameterNumber")
                DefaultModelBuilderRequest(
                        @Nonnull Session session,
                        @Nullable RequestTrace trace,
                        @Nonnull RequestType requestType,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        private SimpleProblemCollector validateRaw(String pom) throws Exception {
            return validateRaw(pom, UnaryOperator.identity());
        }
    
        @SuppressWarnings("SameParameterValue")
        private SimpleProblemCollector validateEffective(String pom, int level) throws Exception {
            return validateEffective(pom, mbr -> mbr.setValidationLevel(level));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Streams.java

      public static DoubleStream stream(OptionalDouble optional) {
        return optional.isPresent() ? DoubleStream.of(optional.getAsDouble()) : DoubleStream.empty();
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void closeAll(BaseStream<?, ?>[] toClose) {
        // If one of the streams throws an exception, continue closing the others, then throw the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    @SuppressWarnings("unused") // Nested enums used reflectively in setUp.
    @NullUnmarked
    public class EnumsBenchmark {
    
      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
      @Param({"0.2", "0.8"})
      float hitRate;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 29.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        void sendWithRequestVarargsDelegates() throws Exception {
            // Verifies Request<T> overload forwards to the varargs form with a null response
            @SuppressWarnings("unchecked")
            Request<CommonServerMessageBlockResponse> req = mock(Request.class);
            CommonServerMessageBlockResponse resp = mock(CommonServerMessageBlockResponse.class);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) {
                return one;
              }
    
              @SuppressWarnings("CacheLoaderNull") // test of broken user implementation
              @Override
              public ListenableFuture<Object> reload(Object key, Object oldValue) {
                return null;
              }
            };
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
Back to Top