- Sort Score
- Num 10 results
- Language All
Results 2511 - 2520 of 3,670 for throwIf (0.13 seconds)
-
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
@NullUnmarked public class TypeTokenSubtypeTest extends TestCase { public void testOwnerTypeSubtypes() throws Exception { new OwnerTypeSubtypingTests().testAllDeclarations(); } public void testWildcardSubtypes() throws Exception { new WildcardSubtypingTests().testAllDeclarations(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) public void testFind_nullNotContainedAndUnsupported() { try { assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null)); } catch (NullPointerException tolerated) { } } @CollectionFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testFind_nonNullWhenNullContained() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedAndUnsupported() { expectNullMissingWhenNullUnsupported("contains(null) should return false or throw"); } @CollectionFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testContains_nonNullWhenNullContained() { initCollectionWithNullElement();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
} @Test @DisplayName("encode should throw NPE on null input") void testEncodeNull() { assertThrows(NullPointerException.class, () -> Base64.encode(null)); } @Test @DisplayName("decode should throw NPE on null input") void testDecodeNull() { assertThrows(NullPointerException.class, () -> Base64.decode(null)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/SchemaUtil.java
assertArgumentNotNull("factory", factory); assertArgumentNotNull("schema", schema); try { return factory.newSchema(schema); } catch (final SAXException e) { throw new SAXRuntimeException(e); } } /** * Creates a {@link Schema} using the specified {@link SchemaFactory}. * * @param factory
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/QueryParseException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; import org.apache.lucene.queryparser.classic.ParseException; /** * Exception thrown when a query parsing error occurs. * This exception wraps Lucene's ParseException to provide consistent error handling * within the Fess search framework. * */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/RandomAmountInputStream.java
public RandomAmountInputStream(InputStream in, Random random) { super(checkNotNull(in)); this.random = checkNotNull(random); } @Override public int read(byte[] b, int off, int len) throws IOException { return super.read(b, off, random.nextInt(len) + 1); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestReader.java
/** * @author Colin Decker */ @NullUnmarked public class TestReader extends FilterReader { private final TestInputStream in; public TestReader(TestOption... options) throws IOException { this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options)); } public TestReader(TestInputStream in) { super(new InputStreamReader(checkNotNull(in), UTF_8)); this.in = in;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import javax.crypto.IllegalBlockSizeException; /** * Signals that this exception has been thrown when a block cipher is supplied with input data whose length is not a multiple of the cipher's block size, or that has been padded to the wrong length. * @author shinsuke */
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataSource.java
String ROLE = MetadataSource.class.getName(); MetadataResolution retrieve( ArtifactMetadata artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) throws MetadataRetrievalException;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0)