- Sort Score
- Result 10 results
- Languages All
Results 861 - 870 of 2,652 for throwIf (0.12 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
* * @throws Exception if any. */ @Test public void testDotDot() throws Exception { assertNull(ReflectionValueExtractor.evaluate("h..value", new ValueHolder("value"))); } /** * <p>testBadIndexedSyntax.</p> * * @throws Exception if any. */ @Test public void testBadIndexedSyntax() throws Exception { List<Object> list = new ArrayList<Object>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
* process()/processRemaining() invocations, due to alignment. */ @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android. public void testExhaustive() throws Exception { Random random = new Random(0); // will iteratively make more debuggable, each time it breaks for (int totalInsertions = 0; totalInsertions < 200; totalInsertions++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
* */ public class ShortConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToShort() throws Exception { assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000")); } /** * @throws Exception */ public void testToPrimitiveShort() throws Exception { assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
* @return the Cartesian product, as an immutable list containing immutable lists * @throws IllegalArgumentException if the size of the cartesian product would be greater than * {@link Integer#MAX_VALUE} * @throws NullPointerException if {@code lists}, any one of the {@code lists}, or any element of * a provided list is null * @since 19.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
*/ public boolean isRunning() { return isRunning; } /** * Starts the stopwatch. * * @return this {@code Stopwatch} instance * @throws IllegalStateException if the stopwatch is already running. */ @CanIgnoreReturnValue public Stopwatch start() { checkState(!isRunning, "This stopwatch is already running."); isRunning = true;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 9.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
@Nonnull Collection<String> getChecksumAlgorithmNames(); /** * Returns {@link ChecksumAlgorithm} for given algorithm name, or throws if algorithm not supported. * * @throws ChecksumAlgorithmServiceException if asked algorithm name is not supported. * @throws NullPointerException if passed in name is {@code null}. */ @Nonnull ChecksumAlgorithm select(@Nonnull String algorithmName); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/TokenizerTest.java
* */ public class TokenizerTest { /** * @throws Exception */ @Test public void testEOF() throws Exception { final Tokenizer tokenizer = new Tokenizer(""); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ModifierUtilTest.java
/** * @throws Exception */ public void testIsPublic() throws Exception { final Field f = Hoge.class.getDeclaredField("s"); assertTrue(ModifierUtil.isPublicStaticFinalField(f)); final Method m = Hoge.class.getDeclaredMethod("hoge", new Class[] {}); assertTrue(ModifierUtil.isPublic(m)); } /** * @throws Exception */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
if (input == null) { final String msg = "The argument 'input' should not be null."; throw new IllegalArgumentException(msg); } if (!input.startsWith("/")) { final String msg = "The argument 'input' should start with slash '/': " + input; throw new IllegalArgumentException(msg); } final StringBuilder sb = new StringBuilder();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
} @SuppressWarnings("checkstyle:methodlength") @Override public VersionResult resolveVersion(RepositorySystemSession session, VersionRequest request) throws VersionResolutionException { RequestTrace trace = RequestTrace.newChild(request.getTrace(), request); Artifact artifact = request.getArtifact(); String version = artifact.getVersion();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0)