Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1651 - 1660 of 3,758 for null (0.02 sec)

  1. guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       *
       * @return the replacement characters, or {@code null} if no escaping was required
       */
      @Override
      protected final char @Nullable [] escape(char c) {
        if (c < replacementsLength) {
          char[] chars = replacements[c];
          if (chars != null) {
            return chars;
          }
        }
        if (c >= safeMin && c <= safeMax) {
          return null;
        }
        return escapeUnsafe(c);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            CurlException exception = new CurlException(null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void testConstructorWithNullMessageAndCause() {
            IOException cause = new IOException("IO error");
            CurlException exception = new CurlException(null, cause);
    
            assertNull(exception.getMessage());
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

        }
    
        /**
         * Checks if the request header is valid.
         * A header is considered valid if its name is not blank and its value is not null.
         * @return true if the header is valid, false otherwise.
         */
        public boolean isValid() {
            if (StringUtil.isBlank(name) || value == null) {
                return false;
            }
    
            return true;
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/AuthenticationProvider.java

         * @param challenge the server challenge (may be null for some auth types)
         * @return authentication response data
         * @throws CIFSException if authentication fails
         */
        byte[] authenticate(CIFSContext context, byte[] challenge) throws CIFSException;
    
        /**
         * Gets the session key after successful authentication
         *
         * @return the session key or null if not available
         */
        byte[] getSessionKey();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

                logger.warn("Failed to create temp file, using null", e);
                return null;
            }
        }
    
        private void loadTestProperties() {
            // Load system.properties from test classpath
            try (InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("system.properties")) {
                if (is != null) {
                    Properties props = new Properties();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        public void test_init() {
            // Test initialization with null fields
            queryFieldConfig.init();
    
            // Verify response fields are initialized
            assertNotNull(queryFieldConfig.getResponseFields());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                }
    
                final byte[] data = accessResultData.getData();
                if (data == null) {
                    return null;
                }
                final String encoding = accessResultData.getEncoding();
                try {
                    return new String(data, encoding == null ? Constants.UTF_8 : encoding);
                } catch (final UnsupportedEncodingException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

        }
    
        @Test
        void testGetByNameWithName() {
            // Test the internal getByName method that takes a Name object
            Name name = new Name(mockConfig, "TESTHOST", 0x20, null);
            when(mockConfig.getLmHostsFileName()).thenReturn(null);
    
            NbtAddress result = lmhosts.getByName(name, mockContext);
    
            assertNull(result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testDeleteScrollContext() {
            // Test with null scrollId (should not throw exception)
            SuggestUtil.deleteScrollContext(client, null);
    
            // Test with non-null scrollId
            String scrollId = "test_scroll_id";
            SuggestUtil.deleteScrollContext(client, scrollId);
            // No exception should be thrown
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/Pac.java

                    }
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed PAC", e);
            }
    
            if (this.serverSignature == null || this.kdcSignature == null || this.logonInfo == null) {
                throw new PACDecodingException("Missing required buffers");
            }
    
            if (log.isTraceEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top