- Sort Score
- Result 10 results
- Languages All
Results 2511 - 2520 of 2,652 for throwIf (0.08 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
installArtifact(artifact); saveInfo(messages -> messages.addSuccessInstallPlugin(GLOBAL, artifact.getFileName())); } } catch (final ValidationErrorException e) { throw e; } catch (final Exception e) { throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, form.id), this::asListHtml); } return redirect(getClass()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
public SafeTreeMap(SortedMap<K, ? extends V> map) { this(new TreeMap<K, V>(map)); } private SafeTreeMap(NavigableMap<K, V> delegate) { this.delegate = delegate; if (delegate == null) { throw new NullPointerException(); } for (K k : keySet()) { checkValid(k); } } @Override public @Nullable Entry<K, V> ceilingEntry(K key) { return delegate.ceilingEntry(checkValid(key));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.assertLogMatch(Regex("""callEnd""")) .assertNoMoreLogs() } @Test fun dnsFail() { client = OkHttpClient.Builder() .dns { _ -> throw UnknownHostException("reason") } .eventListenerFactory(loggingEventListenerFactory) .build() try { client.newCall(request().build()).execute() fail<Any>()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
static Object createTable(int buckets) { if (buckets < 2 || buckets > Ints.MAX_POWER_OF_TWO || Integer.highestOneBit(buckets) != buckets) { throw new IllegalArgumentException("must be power of 2 between 2^1 and 2^30: " + buckets); } if (buckets <= BYTE_MAX_SIZE) { return new byte[buckets]; } else if (buckets <= SHORT_MAX_SIZE) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AggregateFutureState.java
} catch (Throwable reflectionFailure) { // sneaky checked exception // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause // getDeclaredField to throw a NoSuchFieldException when the field is definitely there. // For these users fallback to a suboptimal implementation, based on synchronized. This will // be a definite performance hit to those users.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 20:40:51 UTC 2024 - 8.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
} } Files.write(trackingFile, trackingData, StandardCharsets.UTF_8); } catch (IOException e) { throw new UncheckedIOException(e); } } /** * Returns {@code true} if passed in artifact is originating from local repository. In other words, we want
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java
modelMerger.merge( target, source, false, null ); assertThat( target.getVersion(), is( "TARGET" ) ); } @Test public void testMergedModelSerialization() throws Exception { Model target = new Model(); Model source = new Model(); target.setLicenses(new ArrayList<License>()); License lic1 = new License(); License lic2 = new License();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.3K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
if (copy.locations != null) { copy.locations = new java.util.LinkedHashMap(copy.locations); } return copy; } catch (Exception ex) { throw (RuntimeException) new UnsupportedOperationException(getClass().getName() + " does not support clone()").initCause(ex); } } // -- InputLocation clone() /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @Override Collection<V> createValues() { return new FilteredMultimapValues<>(this); } @Override Iterator<Entry<K, V>> entryIterator() { throw new AssertionError("should never be called"); } @Override Map<K, Collection<V>> createAsMap() { return new AsMap(); } @Override Set<K> createKeySet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0)