- Sort Score
- Num 10 results
- Language All
Results 1981 - 1990 of 3,670 for throwIf (0.06 seconds)
-
src/main/java/org/codelibs/fess/api/WebApiResponse.java
* Returns a dummy PrintWriter that writes to a ByteArrayOutputStream. * * @return A PrintWriter for response output * @throws IOException If an I/O error occurs */ @Override public PrintWriter getWriter() throws IOException { // dummy stream return new PrintWriter(new ByteArrayOutputStream()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerFactoryTest.java
import org.junit.jupiter.api.TestInfo; public class WebApiManagerFactoryTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } // Basic test to verify test framework is working @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/HighlightInfoTest.java
import org.junit.jupiter.api.TestInfo; public class HighlightInfoTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } // Basic test to verify test framework is working @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/json/SearchApiManagerTest.java
import org.junit.jupiter.api.TestInfo; public class SearchApiManagerTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } // Basic test to verify test framework is working @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsCreatorTest.java
import org.junit.jupiter.api.TestInfo; public class StopwordsCreatorTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } // Basic test to verify test framework is working @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java
import okhttp3.tls.HandshakeCertificates; import okhttp3.tls.HeldCertificate; /** * Create an HTTPS server with a self-signed certificate that OkHttp trusts. */ public class HttpsServer { public void run() throws Exception { HeldCertificate localhostCertificate = new HeldCertificate.Builder() .addSubjectAlternativeName("localhost") .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 02 14:04:37 GMT 2023 - 2.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java
throws TransferFailedException { addTransfer("getTransfer " + resource.getName()); super.getTransfer(resource, destination, input, closeInput, maxSize); } @Override public void get(String resourceName, File destination) throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
/** * Test that password comparison is constant-time by comparing execution times * for passwords that differ at different positions. */ @Test public void testConstantTimePasswordComparison() throws Exception { char[] basePassword = "supersecretpassword123456789".toCharArray(); char[] diffAtStart = "Xupersecretpassword123456789".toCharArray();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
android/guava/src/com/google/common/math/Stats.java
* Double#NEGATIVE_INFINITY} only, the result is {@link Double#NEGATIVE_INFINITY}. * * <p>If you only want to calculate the mean, use {@link #meanOf} instead of creating a {@link * Stats} instance. * * @throws IllegalStateException if the dataset is empty */ public double mean() { checkState(count != 0); return mean; } /** * Returns the sum of the values. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 25.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
* </p> * <p> * Any {@link IOException} thrown by these methods is wrapped and thrown as an {@link IORuntimeException}. * </p> * * @author koichik */ public abstract class CopyUtil { /** * Do not instantiate. */ protected CopyUtil() {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 45.2K bytes - Click Count (0)