- Sort Score
- Result 10 results
- Languages All
Results 2381 - 2390 of 2,652 for throwIf (0.23 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java
MavenArtifactProperties.LOCAL_PATH)); // == sanity check if (result.size() != org.apache.maven.api.DependencyScope.values().length - 1) { // sans "undefined" throw new IllegalStateException("Maven4 API dependency scope mismatch"); } return result; } @Override public Collection<org.eclipse.aether.scope.ResolutionScope> buildResolutionScopes(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
import org.codelibs.fess.mylasta.direction.FessProp; import org.codelibs.fess.unit.UnitFessTestCase; public class ParameterUtilTest extends UnitFessTestCase { @Override public void setUp() throws Exception { super.setUp(); FessProp.propMap.clear(); FessConfig fessConfig = new FessConfig.SimpleImpl() { @Override public String getAppEncryptPropertyPattern() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
public DictionaryFile<T> manager(final DictionaryManager dictionaryManager) { this.dictionaryManager = dictionaryManager; return this; } public void writeOut(final WrittenStreamOut out) throws IOException { try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this); final InputStream inputStream = new BufferedInputStream(curlResponse.getContentAsStream())) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
assertThat(fingerprint(stringA.getBytes(UTF_8))) .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8))); // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters // greater than 127 (ie with their top bit set). // Don't attempt to do this in real code. assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
/** Constructor for use by subclasses. */ public StandardKeySet() { super(ForwardingSortedMap.this); } } // unsafe, but worst case is a CCE or NPE is thrown, which callers will be expecting @SuppressWarnings({"unchecked", "nullness"}) static int unsafeCompare( @CheckForNull Comparator<?> comparator, @CheckForNull Object o1, @CheckForNull Object o2) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
extends AbstractMapTester<K, V> { private List<Entry<K, V>> containsNullKey; private List<Entry<K, V>> containsNullValue; @Override public void setUp() throws Exception { super.setUp(); containsNullKey = singletonList(entry(null, v3())); containsNullValue = singletonList(entry(k3(), null)); } @MapFeature.Require(SUPPORTS_PUT)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
public void testRemove_occurrences_unsupported_absent() { // notice: we don't care whether it succeeds, or fails with UOE try { assertEquals( "multiset.remove(absent, 2) didn't return 0 or throw an exception", 0, getMultiset().remove(e3(), 2)); } catch (UnsupportedOperationException ok) { } } @CollectionFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
* * If this does read a value, it starts with the tag and length, and reads an entire value, * including any potential composed values. * * If there's nothing to read and no default value, this will throw an exception. */ fun fromDer(reader: DerReader): T fun fromDer(byteString: ByteString): T { val buffer = Buffer().write(byteString) val reader = DerReader(buffer) return fromDer(reader) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt
} } catch (e: IllegalArgumentException) { if ("Jar does not have a symbolic name" in e.message!!) { println("Skipped non-OSGi dependency: ${file.name}") return } throw e } } companion object { val fileSystem = FileSystem.SYSTEM /** Each is the Bundle-SymbolicName of an OkHttp module's OSGi configuration. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
expectAdded(0, e0()); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) @CollectionSize.Require(absent = ZERO) /* * absent = ZERO isn't required, since unmodList.add() must * throw regardless, but it keeps the method name accurate. */ public void testAddAtIndex_unsupportedPresent() { assertThrows(UnsupportedOperationException.class, () -> getList().add(0, e0())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.4K bytes - Viewed (0)