- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 599 for isInvalid (0.06 sec)
-
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
Throwable cause = new IllegalArgumentException("Invalid argument"); GsaConfigException exception = new GsaConfigException(null, cause); assertNotNull(exception); assertNull(exception.getMessage()); assertNotNull(exception.getCause()); assertEquals(cause, exception.getCause()); assertEquals("Invalid argument", exception.getCause().getMessage()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/SID.java
*/ int SID_TYPE_WKN_GRP = 5; /** * SID type indicating a deleted account. */ int SID_TYPE_DELETED = 6; /** * SID type indicating an invalid SID. */ int SID_TYPE_INVALID = 7; /** * SID type indicating an unknown account type. */ int SID_TYPE_UNKNOWN = 8; /** * Gets the domain SID for this SID. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
// Verify exact argument interaction verify(locator, times(1)).handleDFSReferral(referral, reqPath); verifyNoMoreInteractions(locator); } // Edge / invalid: null referral or empty/blank path @Test @DisplayName("handleDFSReferral handles null referral and empty path") void handleDfsReferralNullAndEmpty() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
} @Test void testDeployBuildPomWithInvalidStringValue() { // Test that invalid string values default to false (Boolean.parseBoolean behavior) Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "invalid"); assertFalse(Features.deployBuildPom(properties)); } @Test void testDeployBuildPomWithEmptyString() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/ClickLogBhv.java
return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); } } return DfTypeUtil.toLocalDateTime(value); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
assertEquals(DialectVersion.SMB311, DialectVersion.valueOf("SMB311")); // Test valueOf with invalid name assertThrows(IllegalArgumentException.class, () -> { DialectVersion.valueOf("INVALID"); }); // Test valueOf with null assertThrows(NullPointerException.class, () -> { DialectVersion.valueOf(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
// Validate buffer size to prevent overflow int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE; if (bufferSize < 0 || bufferSize > MAX_BUFFER_SIZE) { throw new IllegalStateException("Invalid buffer size: " + bufferSize); } return new byte[bufferSize]; } static void getBuffers(final SmbComTransaction req, final SmbComTransactionResponse rsp) { req.txn_buf = getBuffer();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// Since we can't easily mock the IOException, we'll test with invalid data writeTestFile("invalid => "); // Invalid format try { charMappingFile.reload(null); // If no exception, the file might have been parsed with warnings assertTrue(true); } catch (Exception e) { // Expected for invalid format assertTrue(true); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbFileHandle.java
* * @return the tree */ SmbTreeHandle getTree(); /** * Checks if this file handle is still valid * * @return whether the file descriptor is valid */ boolean isValid(); /** * Closes this file handle and optionally sets the last write time * * @param lastWriteTime the last write time to set, or 0 to leave unchanged
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java
* @param artifacts the collection of artifacts to deploy * @throws ArtifactDeployerException if the deployment failed * @throws IllegalArgumentException if an argument is {@code null} or invalid */ default void deploy( @Nonnull Session session, @Nonnull RemoteRepository repository, @Nonnull Collection<ProducedArtifact> artifacts) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 2.1K bytes - Viewed (0)