- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 1,922 for Try (0.02 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
Artifact artifact = request.getArtifact(); if ("maven-test".equals(artifact.getGroupId())) { String scope = artifact.getArtifactId().substring("scope-".length()); try { artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource( ProjectClasspathTestType.dir + "transitive-" + scope + "-dep.xml"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java
this.classWorldManaged = classWorldManaged; } /** * The main entry point. */ public int run(String[] args) throws IOException { try (Invoker<R> invoker = createInvoker()) { return invoker.invoke(parseArguments(args)); } catch (ParserException e) { System.err.println(e.getMessage()); return 1;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
throw responseManager.new404("Thumbnail for " + form.docId + " is under generating."); } return asStream(form.docId).contentType(getImageMimeType(thumbnailFile)).stream(out -> { try (BufferedInputStream in = new BufferedInputStream(new FileInputStream(thumbnailFile))) { out.write(in); } }); } protected String getImageMimeType(final File imageFile) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt
assertEquals("jpeg", mediaType.subtype) } } 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() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java
} return indexName; } @Override protected <RESULT extends User> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) { try { final RESULT result = entityType.newInstance(); result.setName(DfTypeUtil.toString(source.get(NAME))); result.setPassword(DfTypeUtil.toString(source.get(PASSWORD)));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt
var startNs = -1L val loggingEnabled = isLoggable(Level.FINE) if (loggingEnabled) { startNs = queue.taskRunner.backend.nanoTime() log(task, queue, "starting") } var completedNormally = false try { val result = block() completedNormally = true return result } finally { if (loggingEnabled) { val elapsedNs = queue.taskRunner.backend.nanoTime() - startNs if (completedNormally) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
void assertFinallyFailsWithException(ClosingFuture<?> closingFuture) { assertThatFutureFailsWithException(closingFuture.statusFuture()); ValueAndCloser<?> valueAndCloser = finishToValueAndCloser(closingFuture); try { valueAndCloser.get(); fail(); } catch (ExecutionException expected) { assertThat(expected).hasCauseThat().isSameInstanceAs(exception); } valueAndCloser.closeAsync(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
update(b.get()); } } } /** Updates the sink with the given number of bytes from the buffer. */ @CanIgnoreReturnValue private Hasher update(int bytes) { try { update(scratch.array(), 0, bytes); } finally { Java8Compatibility.clear(scratch); } return this; } @Override @CanIgnoreReturnValue public Hasher putByte(byte b) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
helm/minio/templates/_helper_create_bucket.txt
# At this point, the bucket should exist, skip checking for existence # Set policy on the bucket echo "Setting policy of bucket '$BUCKET' to '$POLICY'." ${MC} anonymous set $POLICY myminio/$BUCKET } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.buckets }} {{ $global := . }} # Create the buckets
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jan 12 18:18:57 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
// Replace the body with a stripped one so the callbacks can't see real data. val response = response.stripBody() val reader = ServerSentEventReader(body.source(), this) try { if (!canceled) { listener.onOpen(this, response) while (!canceled && reader.processNextEvent()) { } } } catch (e: Exception) { val exception =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0)