Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for unused (0.06 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                };
            }
    
            @Provides
            @SuppressWarnings("unused")
            static PackagingRegistry newPackagingRegistry(TypeRegistry typeRegistry) {
                return id -> Optional.of(new DumbPackaging(id, typeRegistry.require(id), Map.of()));
            }
    
            @Provides
            @SuppressWarnings("unused")
            static TypeRegistry newTypeRegistry(List<TypeProvider> providers) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                ReactorManager unused,
                List<String> goals,
                String executionRootDir,
                Properties executionProperties,
                Date startTime) {
            this(
                    container,
                    settings,
                    localRepository,
                    eventDispatcher,
                    unused,
                    goals,
                    executionRootDir,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

            () -> {
              ImmutableListMultimap<Object, Integer> unused =
                  fluent(1, 2, 3).index(Functions.constant(null));
            });
      }
    
      public void testIndex_nullValue() {
        assertThrows(
            NullPointerException.class,
            () -> {
              ImmutableListMultimap<String, Integer> unused =
                  fluent(1, null, 2).index(Functions.constant("foo"));
            });
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

        }
    
        @Singleton
        @Named(Lifecycle.CLEAN)
        @SuppressWarnings("unused")
        static class CleanLifecycleProvider extends BaseLifecycleProvider {
            CleanLifecycleProvider() {
                super(Lifecycle.CLEAN);
            }
        }
    
        @Singleton
        @Named(Lifecycle.DEFAULT)
        @SuppressWarnings("unused")
        static class DefaultLifecycleProvider extends BaseLifecycleProvider {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                long unused = ticker.read();
                return null;
              }
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. common/config/.golangci.yml

            # - name: confusing-naming
            # - name: unexported-naming
            # - name: early-return
            # - name: unused-parameter
            # - name: unnecessary-stmt
            # - name: deep-exit
            # - name: import-shadowing
            # - name: modifies-value-receiver
            # - name: unused-receiver
            # - name: bare-return
            # - name: flag-parameter
            # - name: unhandled-error
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
        Comparator<Optional<String>> unused = emptiesFirst(naturalOrder());
      }
    
      public void testEmptiesLast() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

      public void testCreateWithNull_unsupported() {
        E[] array = createArrayWithNullElement();
    
        assertThrows(
            NullPointerException.class,
            () -> {
              Object unused = getSubjectGenerator().create(array);
            });
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNull_unsupported()} so that tests
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

      public void testCreateWithNull_unsupported() {
        E[] array = createArrayWithNullElement();
    
        assertThrows(
            NullPointerException.class,
            () -> {
              Object unused = getSubjectGenerator().create(array);
            });
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNull_unsupported()} so that tests
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "U1.00", "U1.00", "R0.00", "R0.00", "R0.00", "R0.00", // first request and burst
            "R0.20");
      }
    
      public void testCreateWarmupParameterValidation() {
        RateLimiter unused;
        unused = RateLimiter.create(1.0, 1, NANOSECONDS);
        unused = RateLimiter.create(1.0, 0, NANOSECONDS);
    
        assertThrows(IllegalArgumentException.class, () -> RateLimiter.create(0.0, 1, NANOSECONDS));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top