- Sort Score
- Num 10 results
- Language All
Results 1691 - 1700 of 3,637 for throwIf (0.06 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/ArtifactDeployer.java
ArtifactRepository localRepository) throws ArtifactDeploymentException; /** * Deploy an artifact from a particular file. * * @param source the file to deploy * @param artifact the artifact definition * @param deploymentRepository the repository to deploy to * @param localRepository the local repository to install intoCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
} @Test @Throws(Exception::class) fun timeDurationTruncatedToMaxValue() { val cacheControl = CacheControl .Builder() .maxAge(365 * 100, TimeUnit.DAYS) // Longer than Integer.MAX_VALUE seconds. .build() assertThat(cacheControl.maxAgeSeconds).isEqualTo(Int.MAX_VALUE) } @Test @Throws(Exception::class) fun secondsMustBeNonNegative() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 7.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
@Inject ReactorReaderSpy(Lookup lookup) { this.lookup = lookup; } @Override public void init(Context context) throws Exception {} @Override public void onEvent(Object event) throws Exception { if (event instanceof ExecutionEvent executionEvent) { ReactorReader reactorReader = lookup.lookup(ReactorReader.class);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MultiInputStream.java
* * @param it an iterator of I/O suppliers that will provide each substream */ public MultiInputStream(Iterator<? extends ByteSource> it) throws IOException { this.it = checkNotNull(it); advance(); } @Override public void close() throws IOException { if (in != null) { try { in.close(); } finally { in = null; } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
@Nested @DisplayName("Decoding Tests") class DecodingTests { @Test @DisplayName("Should decode single hash algorithm with salt") void testDecodeSingleHashAlgoWithSalt() throws SMBProtocolDecodingException { SMBUtil.writeInt2(1, buffer, 0); SMBUtil.writeInt2(4, buffer, 2); SMBUtil.writeInt2(PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, buffer, 4);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
* Handles document transformation, field addition, and batched indexing. * * @param paramMap the data store parameters * @param dataMap the document data to store * @throws DataStoreException if required fields are missing or other errors occur */ @Override public void store(final DataStoreParams paramMap, final Map<String, Object> dataMap) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java
@Resource private ScheduledJobService scheduledJobService; /** * Index page (not supported for API). * * @return throws UnsupportedOperationException */ @Execute public HtmlResponse index() { throw new UnsupportedOperationException("index() is not supported in API. Use the admin UI instead."); } /** * Starts a scheduled job by ID.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/LineIteratorTest.java
import java.io.StringReader; import org.junit.Test; /** * @author koichik */ public class LineIteratorTest { /** * @throws Exception */ @Test public void test() throws Exception { final StringReader reader = new StringReader("aaa\nbbb\nccc\n"); final LineIterator it = new LineIterator(reader); assertThat(it.hasNext(), is(true));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
} @ParameterizedTest @EnumSource(SubjectVariant.class) @DisplayName("getSubject: caches results and refresh resets cache") void testGetSubjectLoginFailuresCacheAndRefresh(SubjectVariant variant) throws Exception { JAASAuthenticator auth = buildAuthenticator(variant); // First call attempts a JAAS login; behavior depends on JAAS configuration Subject first = auth.getSubject();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
SmbPipeHandleImpl handle; @Mock SmbTreeHandleImpl tree; @Mock SmbNamedPipe pipe; @Mock SmbFileHandleImpl fileHandle; private SmbPipeOutputStream newStream() throws CIFSException { // Arrange common constructor collaborators to avoid touching network/state when(handle.getPipe()).thenReturn(pipe); when(tree.isSMB2()).thenReturn(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0)