Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,782 for instanceOf (0.14 sec)

  1. src/main/java/jcifs/smb/JAASAuthenticator.java

                }
    
                if ( cb instanceof NameCallback ) {
                    NameCallback nc = (NameCallback) cb;
                    String userDomain = this.getSpecifiedUserDomain();
                    if ( this.getUsername() != null && userDomain != null ) {
                        nc.setName(this.getUsername() + "@" + userDomain);
                    }
                }
                else if ( cb instanceof PasswordCallback ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

                return null;
            } else if (value instanceof String) {
                return (String) value;
            } else if (value instanceof java.util.Date) {
                return toString((java.util.Date) value, pattern);
            } else if (value instanceof Number) {
                return toString((Number) value, pattern);
            } else if (value instanceof byte[]) {
                return Base64Util.encode((byte[]) value);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            };
            client.setAccessTimeout(1);
            try {
                client.doGet("smb://localhost/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
        public void test_doHead_accessTimeoutTarget() {
            SmbClient client = new SmbClient() {
                @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        if (!(o instanceof Entry)) {
          return false;
        }
        return c.remove(unmodifiableEntry((Entry<?, ?>) o));
      }
    
      /** An implementation of {@link Map#equals}. */
      static boolean equalsImpl(Map<?, ?> map, @CheckForNull Object object) {
        if (map == object) {
          return true;
        } else if (object instanceof Map) {
          Map<?, ?> o = (Map<?, ?>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

        if (!(o instanceof Entry)) {
          return false;
        }
        return c.remove(unmodifiableEntry((Entry<?, ?>) o));
      }
    
      /** An implementation of {@link Map#equals}. */
      static boolean equalsImpl(Map<?, ?> map, @CheckForNull Object object) {
        if (map == object) {
          return true;
        } else if (object instanceof Map) {
          Map<?, ?> o = (Map<?, ?>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
                        value = stream((String[]) value).get(stream -> stream.collect(Collectors.joining("\n")));
                    } else if (value instanceof List) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        return !disjoint(a, b);
      }
    
      private static Method extractMethod(Test test) {
        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    logReactorSummary(event.getSession());
                }
    
                ILoggerFactory iLoggerFactory = LoggerFactory.getILoggerFactory();
    
                if (iLoggerFactory instanceof org.apache.maven.logging.api.LogLevelRecorder recorder
                        && recorder.hasReachedMaxLevel()) {
                    event.getSession()
                            .getResult()
                            .addException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

            assertTrue(is instanceof InputStream);
            CloseableUtil.closeQuietly(responseData);
        }
    
        private void assertMatchFalse(ResponseData responseData) {
            sitemapsRule.addRule("url", Pattern.compile(".*sitemap.*"));
            assertFalse(sitemapsRule.match(responseData));
            InputStream is = responseData.getResponseBody();
            if (is instanceof TemporaryFileInputStream) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            final CrawlerStatsHelper crawlerStatsHelper = ComponentUtil.getCrawlerStatsHelper();
            final StatsKeyObject keyObj = paramMap.get(Constants.CRAWLER_STATS_KEY) instanceof final StatsKeyObject sko ? sko : null;
            if (keyObj != null) {
                crawlerStatsHelper.runOnThread(keyObj);
            }
            final DataStoreParams localParams = paramMap.newInstance();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top