- Sort Score
- Result 10 results
- Languages All
Results 911 - 920 of 1,444 for scratch (0.05 sec)
-
guava-tests/test/com/google/common/io/MoreFilesTest.java
Files.createFile(dirToDelete.resolve("j/k")); } catch (FileAlreadyExistsException expected) { // if a file already exists, that's fine... just continue } try { method.delete(dirToDelete); } catch (FileSystemException expected) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
public boolean contains(@CheckForNull Object o) { if (o == null) { return false; } try { @SuppressWarnings("unchecked") // we catch CCE's C c = (C) o; return ImmutableRangeSet.this.contains(c); } catch (ClassCastException e) { return false; } } @Override int indexOf(@CheckForNull Object target) { if (contains(target)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java
runner.clean(); } @Before public void before() throws Exception { try { runner.admin().indices().prepareDelete("_all").execute().actionGet(); } catch (IndexNotFoundException ignore) { } runner.refresh(); settings = Suggester.builder().build(runner.client(), id).settings(); } @Test public void test_setAndGetAsArray() {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
assertFalse(runCalled); assertFalse(shutDownCalled); runCalled = true; assertEquals(State.RUNNING, state()); enterRun.countDown(); try { exitRun.await(); } catch (InterruptedException e) { throw new RuntimeException(e); } } @Override protected void shutDown() { assertTrue(startUpCalled); assertTrue(runCalled);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
assertNotNull(ResourceUtil.getResource("org/codelibs")); try { ResourceUtil.getResource("hoge", "xml"); fail("2"); } catch (final ResourceNotFoundRuntimeException e) { System.out.println(e); assertEquals("3", "hoge.xml", e.getPath()); } System.out.println(ResourceUtil.getResource(".")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
Objects.requireNonNull(model, "model cannot be null"); try (Writer out = output) { new MavenStaxWriter().write(out, model); } catch (XMLStreamException e) { throw new IOException(e); } } @Override public void write(OutputStream output, Map<String, Object> options, Model model) throws IOException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java
RepositorySystem repositorySystem; try { repositorySystem = container.lookup(RepositorySystem.class); } catch (ComponentLookupException e) { throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName()); } if (mirrors) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java
try { versionParser.parseVersionConstraint(constraint); fail("expected exception for constraint " + constraint); return null; } catch (VersionParserException e) { return e; } } @Test void testEnumeratedVersions() throws VersionParserException { VersionConstraint c = versionParser.parseVersionConstraint("1.0");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 4.4K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt
try { val testClass = access.findClassByName(it) if (testClass != null) { access.registerAsUsed(testClass) registerTest(access, testClass) } } catch (e: Exception) { // If you throw an exception here then native image building fails half way through // silently without rewriting the binary. So we report noisily, but keep going and prefer
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0)