- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 2,127 for finally (0.06 seconds)
-
guava-tests/test/com/google/common/io/FilesTest.java
private static class BadLengthFile extends File { private final long badLength; BadLengthFile(File delegate, long badLength) { super(delegate.getPath()); this.badLength = badLength; } @Override public long length() { return badLength; } private static final long serialVersionUID = 0; } public void testToString() throws IOException {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 22.1K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeVisitor.java
* * @author Ben Yu */ abstract class TypeVisitor { private final Set<Type> visited = new HashSet<>(); /** * Visits the given types. Null types are ignored. This allows subclasses to call {@code * visit(parameterizedType.getOwnerType())} safely without having to check nulls. */ public final void visit(@Nullable Type... types) { for (Type type : types) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
} private static final class ThrowingTearDown implements TearDown { private final String id; boolean ran = false; ThrowingTearDown(String id) { this.id = id; } @Override public void tearDown() throws Exception { ran = true; throw new RuntimeException(id); } } private static final class SimpleTearDown implements TearDown {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
assertTrue(deployedFile.exists(), "Expected " + deployedFile + ".exists() to return true"); assertEquals("dummy", new String(Files.readAllBytes(deployedFile.toPath()), StandardCharsets.UTF_8).trim()); } finally { sessionScope.exit(); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
} } private fun <T> withLocale( locale: Locale, block: () -> T, ): T { val previous = Locale.getDefault() try { Locale.setDefault(locale) return block() } finally { Locale.setDefault(previous) } } @Test fun testIllegalCharsetName() { val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"") assertNull(mediaType.charsetName()) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
final List<JavadocTagHandler> tagHandlers = new ArrayList<JavadocTagHandler>(); final LinkedList<HtmlElementHandler> handlerStack = new LinkedList<HtmlElementHandler>(); final LinkedList<String> tagStack = new LinkedList<String>(); final Map<String, String> attributes = new HashMap<String, String>(); StringBuilder tagValue; final Document document;
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed May 21 06:20:45 GMT 2025 - 29.3K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/ExtractAndroidStudioTask.kt
outputDir.get().asFile.mkdirs() execOps.exec { commandLine("cp", "-r", "$volumeDir/Android Studio.app/Contents", outputDir.get().asFile.absolutePath) } } finally { execOps.exec { commandLine("hdiutil", "detach", volumeDir) } } }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 19 08:02:04 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
return getState() == Thread.State.WAITING && LockSupport.getBlocker(this) == future; } } static final class TimedWaiterThread extends Thread { private final AbstractFuture<?> future; private final long timeout; private final TimeUnit unit; private Exception exception; private volatile long startTime; private long timeSpentBlocked;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
private final BuildPluginManager pluginManager; private final MavenPluginManager mavenPluginManager; private final LifecycleDependencyResolver lifeCycleDependencyResolver; private final ExecutionEventCatapult eventCatapult; private final OwnerReentrantReadWriteLock aggregatorLock = new OwnerReentrantReadWriteLock(); private final Provider<MojosExecutionStrategy> mojosExecutionStrategy;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 12 14:55:55 GMT 2025 - 21K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.3K bytes - Click Count (0)