- Sort Score
- Num 10 results
- Language All
Results 1051 - 1060 of 1,782 for scratch (0.04 seconds)
-
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
.isNotNull(); for (String propertyName : new String[] {"value", "absent"}) { Method method = null; try { method = annotationClass.getMethod(propertyName); } catch (NoSuchMethodException e) { throw new AssertionError("Annotation is missing required method", e); } Class<?> returnType = method.getReturnType(); assertTrue(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java
ArrayList<Exception> exceptions = new ArrayList<>(); for (MavenContext context : residentContext.values()) { try { context.doCloseContainer(); } catch (Exception e) { exceptions.add(e); } } if (!exceptions.isEmpty()) { InvokerException exception = new InvokerException("Could not cleanly shut down context pool");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java
*/ public String execute() { try { final long count = ComponentUtil.getThumbnailManager().purge(getExpiry()); return "Deleted " + count + " thumbnail files."; } catch (final Exception e) { logger.error("Failed to purge thumbnails.", e); return e.getMessage(); } } /** * Gets the expiration time for thumbnails. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/PathMapping.java
pathMapperFunc = pathMappingHelper.createPathMatcher(matcher, replacement); } try { return pathMapperFunc.apply(input, matcher); } catch (final Exception e) { logger.warn("Failed to apply {} to {}.", regexPattern.pattern(), input, e); } } return input; } public boolean hasUAMathcer() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java
try { Files.write(docInfo.toPath(), Collections.singleton(String.format("<meta name=\"adoc-src-path\" content=\"%s\">", relativePath)), StandardOpenOption.CREATE); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } }); }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testClear_unsupportedByEmptyCollection() { try { collection.clear(); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require({SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION}) @CollectionSize.Require(SEVERAL)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/PackageSanityTests.java
setDefault(EndpointPair.class, EndpointPair.ordered("A", "B")); } @Override public void testNulls() throws Exception { try { super.testNulls(); } catch (AssertionError e) { assertWithMessage("Method did not throw null pointer OR element not in graph exception.") .that(e) .hasCauseThat() .hasMessageThat()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java
session, reactorContext, projectBuild.getProject(), taskSegment); if (reactorBuildStatus.isHalted()) { break; } } catch (Exception e) { break; // Why are we just ignoring this exception? Are exceptions are being used for flow control } } } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
chain.eventListener.cacheMiss(call) } } } if (HttpMethod.invalidatesCache(networkRequest.method)) { try { cache.remove(networkRequest) } catch (_: IOException) { // The cache cannot be written. } } } return response } /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 10.3K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
// Should not throw exception when adding empty list // This validates the early return optimization try { urlFilterService.addIncludeUrlFilter(sessionId, emptyList); } catch (final Exception e) { fail(); } // Since no items were added, the pattern list should be empty final List<Pattern> patterns = urlFilterService.getIncludeUrlPatternList(sessionId);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 11.5K bytes - Click Count (0)