- Sort Score
- Num 10 results
- Language All
Results 1771 - 1780 of 3,747 for throwIt (0.27 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
} String toXml(Model model) throws IOException, XMLStreamException { StringWriter sw = new StringWriter(); MavenStaxWriter writer = new MavenStaxWriter(); writer.setAddLocationInformation(false); writer.write(sw, model); return sw.toString(); } Model fromXml(String xml) throws XMLStreamException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmSspTest.java
/** * Test case for when the 'Authorization' header is missing. * Expects the server to respond with a 'WWW-Authenticate: NTLM' header and a 401 status. * @throws IOException */ @Test public void testAuthenticate_NoAuthorizationHeader() throws IOException { // Setup: No "Authorization" header when(mockRequest.getHeader("Authorization")).thenReturn(null); // ExecuteCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.4K bytes - Click Count (1) -
guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
ImmutableMap.of( '\n', "<newline>", '\t', "<tab>", '&', "<and>"); private static final char[] NO_CHARS = new char[0]; public void testReplacements() throws IOException { // In reality this is not a very sensible escaper to have (if you are only // escaping elements from a map you would use a ArrayBasedCharEscaper). UnicodeEscaper escaper =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 18 15:41:04 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
import java.net.URLStreamHandler; import junit.framework.TestCase; /** * @author koichik */ public class ZipFileUtilTest extends TestCase { /** * @throws Exception */ public void testToJarFilePath() throws Exception { final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() { @OverrideCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/RateLimitFilter.java
} /** * Send a 403 Forbidden response for blocked IPs. * @param response the HTTP response * @throws IOException if an I/O error occurs */ protected void sendBlockedResponse(final HttpServletResponse response) throws IOException { response.setStatus(HttpServletResponse.SC_FORBIDDEN); response.setContentType("application/json;charset=UTF-8");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 4.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) -
guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
public void testCrc32_equalsChecksumValue() throws Exception { assertChecksum(CRC_32, ""); assertChecksum(CRC_32, "Z"); assertChecksum(CRC_32, "foobar"); } public void testAdler32_equalsChecksumValue() throws Exception { assertChecksum(ADLER_32, ""); assertChecksum(ADLER_32, "Z"); assertChecksum(ADLER_32, "foobar"); } public void testCrc32_knownValues() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
* serialisation and invalid input handling. */ class NegTokenTargTest { @Test @DisplayName("happy path – full token round‑trip") void testRoundTripFull() throws IOException { // Arrange – create a fully populated token ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); byte[] tokenArray = new byte[] { 1, 2, 3 };Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K 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)