Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 1,667 for instanceof (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            } catch (Exception e) {
                // If any exception occurs, it should be a DictionaryException
                assertTrue("Exception should be DictionaryException", e instanceof DictionaryException);
                assertTrue("Message should mention userDict file",
                        e.getMessage().contains("userDict") || e.getMessage().contains("Failed to write"));
            } finally {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        @Override
        public int hashCode() {
            return mid;
        }
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof ServerMessageBlock && ((ServerMessageBlock) obj).mid == mid;
        }
    
        @Override
        public String toString() {
            String c = switch (command) {
            case SMB_COM_NEGOTIATE -> "SMB_COM_NEGOTIATE";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(RequestHeaderService.class).getRequestHeader(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(FileAuthenticationService.class).getFileAuthentication(((EditForm) form).id);
                }
                break;
            default:
                break;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                }
                final Object trackTotalHitsValue = fessConfig.getQueryTrackTotalHitsValue();
                if (trackTotalHitsValue instanceof Boolean) {
                    searchRequestBuilder.setTrackTotalHits((Boolean) trackTotalHitsValue);
                } else if (trackTotalHitsValue instanceof Number) {
                    searchRequestBuilder.setTrackTotalHitsUpTo(((Number) trackTotalHitsValue).intValue());
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                final KuromojiItem entity = new KuromojiItem(0, StringUtil.EMPTY, StringUtil.EMPTY, StringUtil.EMPTY, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(KuromojiService.class).getKuromojiItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj instanceof VersionRange other) {
                return Objects.equals(recommendedVersion, other.recommendedVersion)
                        && Objects.equals(restrictions, other.restrictions);
            } else {
                return false;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

            resolver.resolve(SamlCredential.class, credential -> OptionalEntity.of(credential.getUser()));
        }
    
        @Override
        public String logout(final FessUserBean user) {
            if (user.getFessUser() instanceof SamlUser) {
                return LaRequestUtil.getOptionalRequest().map(request -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Logging out with SAML Authenticator");
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 03:13:33 GMT 2026
    - 20.2K bytes
    - Click Count (3)
  10. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         *
         * @return This instance itself
         */
        public CopyOptions excludeNull() {
            excludesNull = true;
            return this;
        }
    
        /**
         * Excludes properties with only whitespace from the operation.
         *
         * @return This instance itself
         */
        public CopyOptions excludeWhitespace() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top