Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,456 for NULL (0.14 sec)

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

            if (path == null || loader == null) {
                return null;
            }
            final String p = getResourcePath(path, extension);
            return loader.getResource(p);
        }
    
        /**
         * Returns the resource as a stream from the context class loader.
         *
         * @param path
         *            The resource path. Must not be {@literal null} or empty string.
         * @return The input stream
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ObjectUtil.java

         */
        public static String toString(final Object obj) {
            return obj == null ? null : obj.toString();
        }
    
        /**
         * Returns the object, or the defaultValue if the object is <code>null</code>.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * ObjectUtil.defaultValue(null, "NULL")  = "NULL"
         * ObjectUtil.defaultValue(null, 1)    = 1
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

         * StringUtil.defaultString("aaa", "NULL") = "aaa"
         * StringUtil.defaultString("aaa", null)   = "aaa"
         * StringUtil.defaultString(null, null)    = null
         * </pre>
         *
         * @param str
         *            the string (can be <code>null</code>)
         * @param defaultStr
         *            the string to return if the argument is <code>null</code> (can be <code>null</code>)
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        @Test
        @DisplayName("Setters accept null and getters return null")
        void settersAcceptNull() {
            TestSpnegoToken t = new TestSpnegoToken();
            t.setMechanismToken(null);
            t.setMechanismListMIC(null);
            assertNull(t.getMechanismToken(), "mechanismToken should be null after setting null");
            assertNull(t.getMechanismListMIC(), "mechanismListMIC should be null after setting null");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/DomUtil.java

         *            The content. Must not be {@literal null}.
         * @param encoding
         *            The encoding. If {@literal null}, the platform's default encoding will be used.
         * @return {@link InputStream}
         */
        public static InputStream getContentsAsStream(final String contents, final String encoding) {
            assertArgumentNotNull("contents", contents);
    
            if (encoding == null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        private final URL url;
    
        private DfsReferralData dfsReferral = null; // For getDfsPath() and getServerWithDfs()
    
        private String unc; // Initially null; set by getUncPath; never ends with '/'
        private String uncBeforeDfsReferal;
        private String canon; // Initially null; set by getUncPath; dir must end with '/'
        private String share; // Can be null
    
        private Address[] addresses;
        private int addressIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            return "Type2Message[target=" + target + ",challenge=" + (challenge == null ? "null" : "<" + challenge.length + " bytes>")
                    + ",context=" + (context == null ? "null" : "<" + context.length + " bytes>") + ",targetInformation="
                    + (targetInformation == null ? "null" : "<" + targetInformation.length + " bytes>") + ",flags=0x"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
        }
    
        public void test_process_withNullParameters() throws IOException, ServletException {
            // Test null parameter handling
            TestWebApiManager manager = new TestWebApiManager("/api");
    
            try {
                manager.process(null, null, null);
                assertTrue(manager.isProcessCalled());
            } catch (NullPointerException e) {
                // Expected for some implementations
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            }
    
            @Test
            @DisplayName("doEnum with null parent throws NullPointerException")
            void doEnum_withNullParent_throwsNpe() {
                assertThrows(NullPointerException.class, () -> SmbEnumerationUtil.doEnum(null, "*", 0, null, null));
            }
        }
    
        @Nested
        @DisplayName("Wrapper behaviors")
        class WrapperBehaviorTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                try {
                    final String resourceName = params == null ? null : params.get(ExtractData.RESOURCE_NAME_KEY);
                    final String contentType = params == null ? null : params.get(ExtractData.CONTENT_TYPE);
                    String contentEncoding = params == null ? null : params.get(ExtractData.CONTENT_ENCODING);
                    final boolean normalizeText = params == null ? true : !Constants.FALSE.equalsIgnoreCase(params.get(NORMALIZE_TEXT));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top