Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1061 - 1070 of 4,689 for nulls (0.04 seconds)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         *     throw new SecurityException("Path traversal attempt detected");
         * }
         * </pre>
         *
         * @param pathToCheck the path to validate (must not be {@literal null})
         * @param baseDirectory the base directory that the path must be within (must not be {@literal null})
         * @return true if the path is safe (within the base directory), false otherwise
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbTreeTest.java

        /**
         * Test for unwrap with null parameter.
         * Verifies behavior when null is passed to unwrap.
         */
        @Test
        void testUnwrap_withNullParameter() {
            when(smbTree.unwrap(null)).thenThrow(new NullPointerException("Type cannot be null"));
    
            assertThrows(NullPointerException.class, () -> smbTree.unwrap(null), "Should throw NullPointerException when type is null");
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java

        protected void assertObjectNotNull(String variableName, Object value) {
            if (variableName == null) {
                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

        }
    
        @Test
        public void test_constructor_withAllNullParameters() {
            // Execute
            final SsoMessageException exception = new SsoMessageException(null, null, null);
    
            // Verify
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
            assertNull(exception.getMessageCode());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

            if (includes != null) {
                includes = substVars(includes, INCLUDES_PROPERTY, configProps, callback);
                StringTokenizer st = new StringTokenizer(includes, "?\",", true);
                if (st.countTokens() > 0) {
                    String location;
                    do {
                        location = nextLocation(st);
                        if (location != null) {
                            boolean mandatory = true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

        void constructor_shouldHandleNullServerSuccessfully() throws IOException {
            // Arrange
            String server = null;
            int access = 123;
    
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                    final ZonedDateTime lastModified =
                            blob.getUpdateTimeOffsetDateTime() != null ? blob.getUpdateTimeOffsetDateTime().toZonedDateTime() : null;
    
                    final StorageItem item = new StorageItem(name, prefix, isDirectory, isDirectory ? 0 : blob.getSize(),
                            isDirectory ? null : lastModified, encodeId(blobName));
    
                    if (isDirectory) {
                        items.add(item);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            if (this.closed) {
                throw new IllegalStateException("SigningDigest is closed");
            }
            if (this.signingKey == null) {
                throw new IllegalStateException("Signing key has been wiped");
            }
            Mac m;
            if (this.provider != null) {
                m = Mac.getInstance(this.algorithmName, this.provider);
            } else {
                m = Mac.getInstance(this.algorithmName);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/RequestWithPathTest.java

        }
    
        @Test
        @DisplayName("Test with null values")
        void testWithNullValues() {
            // Test null path
            testImplementation.setPath(null);
            assertNull(testImplementation.getPath());
    
            // Test null UNC path components
            testImplementation.setFullUNCPath(null, null, null);
            assertNull(testImplementation.getDomain());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

    @Deprecated
    public class TestRepositorySystem implements RepositorySystem {
    
        private final ModelReader modelReader;
    
        private final ArtifactFactory artifactFactory;
    
        public TestRepositorySystem() {
            this(null, null);
        }
    
        @Inject
        public TestRepositorySystem(ModelReader modelReader, ArtifactFactory artifactFactory) {
            this.modelReader = modelReader;
            this.artifactFactory = artifactFactory;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top