Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 3,758 for null (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                final String encoding = loadCharset(is);
                if (encoding == null) {
                    if (defaultEncoding == null) {
                        responseData.setCharSet(Constants.UTF_8);
                    } else if (responseData.getCharSet() == null) {
                        responseData.setCharSet(defaultEncoding);
                    }
                } else {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (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");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            // Test constructor with null message
            CommandExecutionException exception = new CommandExecutionException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

         * @param userAgent The user agent string to look up in the directives
         * @return The Directive object matching the user agent, or null if no matching directive is found or if userAgent is null
         */
        public Directive getDirective(final String userAgent) {
            if (userAgent == null) {
                return null;
            }
            for (final Directive directive : directiveMap.values()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            if (logger.isDebugEnabled()) {
                logger.debug("Accessing {}", url);
            }
    
            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
                accessTimeoutTarget = new AccessTimeoutTarget(Thread.currentThread());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LongAdder.java

        Cell[] as;
        long b, v;
        int[] hc;
        Cell a;
        int n;
        if ((as = cells) != null || !casBase(b = base, b + x)) {
          boolean uncontended = true;
          if ((hc = threadHashCode.get()) == null
              || as == null
              || (n = as.length) < 1
              || (a = as[(n - 1) & hc[0]]) == null
              || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        String stateString = requestUrl.queryParameter("state");
        ByteString state = stateString != null ? ByteString.decodeBase64(stateString) : null;
    
        Listener listener;
        synchronized (this) {
          listener = listeners.get(state);
        }
    
        if (code == null || listener == null) {
          return new MockResponse()
              .setResponseCode(404)
              .setBody("unexpected request");
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         * @param entryDn the LDAP entry DN
         * @return the extracted role name, or null if not found
         */
        protected String getSearchRoleName(final String entryDn) {
            if (entryDn == null) {
                return null;
            }
            int start = entryDn.toLowerCase(Locale.ROOT).indexOf("cn=");
            if (start == -1) {
                return null;
            }
            start += 3;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

        }
    
        /**
         * Test constructor with both null message and null cause
         */
        public void test_constructor_withNullMessageAndNullCause() {
            CrawlerSystemException exception = new CrawlerSystemException(null, null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        }
    
        public void test_constructor_withNullTypeAndMessage() {
            // Test constructor with both null type and message
            String type = null;
            String message = null;
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertNull(exception.getType());
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top