Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 3,646 for finally (0.06 sec)

  1. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      @GwtIncompatible // concurrency
      private void runConcurrentTest(int numberOfThreads, final Callable<@Nullable Void> callable)
          throws Exception {
        ExecutorService executorService = Executors.newFixedThreadPool(numberOfThreads);
        final CountDownLatch startLatch = new CountDownLatch(numberOfThreads);
        final CountDownLatch doneLatch = new CountDownLatch(numberOfThreads);
        for (int i = numberOfThreads; i > 0; i--) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
      public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
    
      private final AbstractPackageSanityTests sanityTests = new ConcretePackageSanityTests();
    
      public void testFindClassesToTest_testClass() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

    import java.util.function.Function;
    
    import org.apache.maven.internal.impl.model.DefaultInterpolator;
    
    public class MavenPropertiesLoader {
    
        public static final String INCLUDES_PROPERTY = "${includes}"; // includes
    
        public static final String OVERRIDE_PREFIX =
                "maven.override."; // prefix that marks that system property should override defaults.
    
        public static void loadProperties(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

     */
    public final class Utils {
        private Utils() {}
    
        @Nullable
        public static File toFile(Path path) {
            if (path != null) {
                return path.toFile();
            }
            return null;
        }
    
        @Nonnull
        public static String stripLeadingAndTrailingQuotes(String str) {
            requireNonNull(str, "str");
            final int length = str.length();
            if (length > 1
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsBuilder implements SettingsBuilder {
    
        private final org.apache.maven.internal.impl.DefaultSettingsBuilder builder;
        private final org.apache.maven.internal.impl.DefaultSettingsXmlFactory settingsXmlFactory;
    
        @Inject
        public DefaultSettingsBuilder(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

    @Deprecated
    public class MavenMetadataSource implements ArtifactMetadataSource {
        private final Logger logger = LoggerFactory.getLogger(getClass());
        private final RepositoryMetadataManager repositoryMetadataManager;
        private final ArtifactFactory artifactFactory;
        private final ProjectBuilder projectBuilder;
        private final MavenMetadataCache cache;
        private final LegacySupport legacySupport;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

      // The replacement array (see ArrayBasedEscaperMap).
      private final char[][] replacements;
      // The number of elements in the replacement array.
      private final int replacementsLength;
      // The first character in the safe range.
      private final char safeMin;
      // The last character in the safe range.
      private final char safeMax;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/EdgesConnecting.java

     *
     * @author James Sexton
     * @param <E> Edge parameter type
     */
    @ElementTypesAreNonnullByDefault
    final class EdgesConnecting<E> extends AbstractSet<E> {
    
      private final Map<?, E> nodeToOutEdge;
      private final Object targetNode;
    
      EdgesConnecting(Map<?, E> nodeToEdgeMap, Object targetNode) {
        this.nodeToOutEdge = checkNotNull(nodeToEdgeMap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top