- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 5,478 for newA (0.03 seconds)
-
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java
StringWriter sWriter = new StringWriter(); PrintWriter pWriter = new PrintWriter(sWriter); error.printStackTrace(pWriter); System.out.println("[" + prefix + "] " + sWriter); } private void print(String prefix, CharSequence content, Throwable error) { StringWriter sWriter = new StringWriter(); PrintWriter pWriter = new PrintWriter(sWriter);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java
protected Map<String, Extractor[]> extractorMap = new HashMap<>(); /** * Constructs a new ExtractorFactory. */ public ExtractorFactory() { // Default constructor } /** * Adds an extractor to the factory for the specified key. * If an extractor already exists for the key, the new extractor is added to the array of extractors,
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
assertArgumentNotNull("contents", contents); if (encoding == null) { return new ByteArrayInputStream(contents.getBytes()); } try { return new ByteArrayInputStream(contents.getBytes(encoding)); } catch (final UnsupportedEncodingException ex) { throw new IORuntimeException(ex); } } /** * Encodes the value of an attribute. *
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java
.status(ApiResult.Status.OK) .result()); } /** * Create a new character mapping entry for the specified dictionary. * * @param dictId identifier of the dictionary * @param body create request payload * @return JSON response containing creation result and new entry ID */ // POST /api/admin/dict/mapping/setting/{dictId} @Execute
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
problem = new DefaultProblem(null, null, null, -1, Integer.MIN_VALUE, null); assertEquals(Integer.MIN_VALUE, problem.getColumnNumber()); } @Test void testGetException() { DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null); assertNull(problem.getException()); Exception e = new Exception(); problem = new DefaultProblem(null, null, null, -1, -1, e);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileTest.java
// Create URL handler Handler urlHandler = new jcifs.smb.Handler(mockCifsContext); when(mockCifsContext.getUrlHandler()).thenReturn(urlHandler); // Use the URL handler to create the URL url = new URL(null, "smb://localhost/share/file.txt", urlHandler); smbFile = spy(new SmbFile(url, mockCifsContext)); // Prevent network operations by defaultCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
// Arrange ASN1ObjectIdentifier mech1 = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); // Kerberos V5 ASN1ObjectIdentifier mech2 = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); // SPNEGO DummySSPContext ctx = new DummySSPContext(new byte[] { 1, 2, 3 }, true, "NBHOST", new ASN1ObjectIdentifier[] { mech1, mech2 }, 0xA5, true); // Act & AssertCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
@BeforeEach public void setUp() { response = new SmbComReadAndXResponse(); } @Test public void testConstructor() { assertNotNull(response); } @Test public void testConstructorWithParameters() { byte[] b = new byte[0]; response = new SmbComReadAndXResponse(b, 0); assertNotNull(response); assertEquals(b, response.b);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
int access = 123; // No exception thrown by sendrecv for MsrpcSamrConnect4 doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) { assertNotNull(handle); // Verify that sendrecv was called with MsrpcSamrConnect4 verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
} catch (final Exception e) { throw new CrawlerSystemException("Could not initialize MimeTypeHelper.", e); } } @Override public String getContentType(final InputStream is, final String filename) { final Map<String, String> params = new HashMap<>(); params.put(ExtractData.RESOURCE_NAME_KEY, filename);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 6.6K bytes - Click Count (0)