- Sort Score
- Num 10 results
- Language All
Results 3651 - 3660 of 3,747 for throwIf (0.06 seconds)
-
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
try { return createKuromojiItem(this, form, hook); } catch (final ValidationErrorException e) { saveToken(); throw e; } } /** * Create a kuromoji item. * @param action The action. * @param form The create form. * @param hook The error hook.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 21.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
assertThat(cookieB).isNotEqualTo(cookieA) } } assertThat(cookieA).isNotEqualTo(null) } } @Throws(ParseException::class) private fun date(s: String): Date { val format = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ") format.timeZone = UTC return format.parse(s) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 24.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(converter.reverse().convert(1e-6)).isEqualTo("1.0E-6"); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testStringConverter_nullPointerTester() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(Doubles.stringConverter()); } @GwtIncompatible public void testTryParse_withNullNoGwt() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Ascii.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 21.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
for (RoundingMode mode : modes) { Double previous = expectedValues.put(mode, expectedValue); if (previous != null) { throw new AssertionError(); } } return this; } @CanIgnoreReturnValue RoundToDoubleTester roundUnnecessaryShouldThrow() { unnecessaryShouldThrow = true;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:51:56 GMT 2026 - 27.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectSpliterators.java
} @Override public @Nullable Comparator<? super T> getComparator() { if (hasCharacteristics(Spliterator.SORTED)) { return comparator; } else { throw new IllegalStateException(); } } } return new WithCharacteristics(IntStream.range(0, size).spliterator()); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); } @Test void constructor_withConfigOnly_shouldInitializeFields() throws Exception { Name name = new Name(mockConfig); Field configField = Name.class.getDeclaredField("config"); configField.setAccessible(true); assertSame(mockConfig, configField.get(name));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
try { return createProtwordsItem(this, form, hook); } catch (final ValidationErrorException e) { saveToken(); throw e; } } /** * Get the protected word item. * @param action The action. * @param form The create form. * @param hook The error hook.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 20.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
Arrays.fill(shortFileId, (byte) 0xAB); request.setFileId(shortFileId); byte[] buffer = new byte[256]; // Should handle gracefully or throw appropriate exception assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0)); } @Test @DisplayName("Should handle all parameters at maximum")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
public File getMultiModuleProjectDirectory() { return multiModuleProjectDirectory; } @Override public Path getRootDirectory() { if (rootDirectory == null) { throw new IllegalStateException(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE); } return rootDirectory; } @Override public MavenExecutionRequest setRootDirectory(Path rootDirectory) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 32.1K bytes - Click Count (0)