- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 1,060 for Try (0.28 seconds)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java
package org.apache.maven.cli; import java.util.ArrayList; import java.util.List; /** * CleanArgument */ @Deprecated public class CleanArgument { public static String[] cleanArgs(String[] args) { try { return doCleanArgs(args); } catch (RuntimeException e) { for (String a : args) { System.out.println("Arg: '" + a + "'"); } throw e; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 3.4K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
fun configureKotlinCompilerIoForWindowsSupport() = org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback() } private inline fun <T : Any?> Disposable.use(action: Disposable.() -> T) = try { action(this) } finally { Disposer.dispose(this)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 16 08:22:33 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
public LifecycleWrapperProvider(PlexusContainer container) { this.container = container; } @Override public Collection<Lifecycle> provides() { try { Map<String, org.apache.maven.lifecycle.Lifecycle> all = container.lookupMap(org.apache.maven.lifecycle.Lifecycle.class); return all.keySet().stream()
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 20.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 37K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloseablesTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/AboutTheStubs.html
and can be asserted as desired. You can change/extend these stubs, and tests should not be breaking too much, since most tests assert using expected values from the stubs. Normally, when you try to use data from the stubs that have not been properly populated, you'll get a nullpointer in your test and you then have to identify which stub creates that specific piece of data. The most important stubs are:
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MultiInputStream.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
*/ @GuardedBy("lock") private int runningTasks = 0; @GuardedBy("lock") private boolean shutdown = false; @Override public void execute(Runnable command) { startTask(); try { command.run(); } finally { endTask(); } } @Override public boolean isShutdown() { synchronized (lock) { return shutdown; } } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 14:23:59 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
.getActivation() .getFile() .getExists() .contains(BASE_DIR)); } private static Model readPom(File file) throws Exception { try (InputStream is = Files.newInputStream(file.toPath())) { return new MavenStaxReader().read(is); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java
@Nullable InputStream stdIn, @Nullable OutputStream stdOut, @Nullable OutputStream stdErr, boolean embedded) throws IOException { try (Invoker invoker = createInvoker()) { return invoker.invoke(createParser() .parseInvocation(createParserRequestBuilder(args) .stdIn(stdIn)Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Feb 08 16:25:25 GMT 2025 - 3.6K bytes - Click Count (0)