- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 734 for getDate (0.04 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolver.java
/** * Determines which version of an artifact to use when there are conflicting declarations. * */ @Deprecated public interface ConflictResolver { String ROLE = ConflictResolver.class.getName(); /** * Determines which of the specified versions of an artifact to use when there are conflicting declarations. * * @param node1 the first artifact declaration
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
URL url = new URL(null, "smb://server/share#frag", handler); // Assert: ref is moved into path by Handler.parseURL assertNull(url.getRef(), "Ref must be cleared by Handler"); assertTrue(url.getPath().endsWith("/share#frag"), "Path must contain the fragment suffix"); assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied when not explicitly set"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
*/ @Test void testGetRemoteUser() { // Arrange: Define the expected user name from the principal String expectedUserName = "testUser"; when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser(); // Assert: Verify that the returned user name is the expected one
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
int count = 0; File[] dirs = baseDir.listFiles(); if (dirs != null) { for (File dir : dirs) { if (dir.isDirectory() && dir.getName().startsWith("_")) { count++; } } } return count; } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
/** * Monitors active registrations and sends heartbeats. */ private void monitorRegistrations() { for (WitnessRegistration registration : registrations.values()) { if (registration.getState() == WitnessRegistrationState.REGISTERED) { // Send periodic heartbeat sendHeartbeat(registration); } } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/OsddHelper.java
if (osddFile == null) { throw ComponentUtil.getResponseManager().new404("Unsupported Open Search Description Document response."); } return new StreamResponse(osddFile.getName()).contentType(contentType + "; charset=" + encoding).stream(out -> { try (InputStream ins = new FileInputStream(osddFile)) { out.write(ins); } }); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
// Test that the class exists and has the expected structure assertEquals("CustomSizeValidator should be in correct package", "org.codelibs.fess.validation.CustomSizeValidator", CustomSizeValidator.class.getName()); // Test that it implements ConstraintValidator assertTrue("Should implement ConstraintValidator", jakarta.validation.ConstraintValidator.class.isAssignableFrom(CustomSizeValidator.class));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
File file = new File(dir, filename); file.getParentFile().mkdirs(); FileUtils.fileWrite(file.getPath(), encoding, contents); markForDeletion(file); return file; } public String getFileContents(File file, String encoding) throws IOException {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
super(message); } } StackTraceException e = new StackTraceException("my message"); String firstLine = quote(e.getClass().getName() + ": " + e.getMessage()); String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*"; String moreLines = "(?:.*" + System.lineSeparator() + "?)*"; String expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0)