Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,928 for instanceof (1.93 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            });
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) {
                    throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL));
                }
            });
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractMultimap.java

        checkNotNull(values);
        // make sure we only call values.iterator() once
        // and we only call get(key) if values is nonempty
        if (values instanceof Collection) {
          Collection<? extends V> valueCollection = (Collection<? extends V>) values;
          return !valueCollection.isEmpty() && get(key).addAll(valueCollection);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(BoostDocumentRuleService.class).getBoostDocumentRule(((EditForm) form).id);
                }
                break;
            default:
                break;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(RoleService.class).getRole(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // When & Then
                InvocationTargetException exception = assertThrows(InvocationTargetException.class, () -> constructor.newInstance(null, 1));
                assertTrue(exception.getCause() instanceof NullPointerException);
            }
    
            @Test
            @DisplayName("Should work with different PID configuration")
            void testWithDifferentPidConfiguration() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

             * flag tries to detect which use case applies to make both plugins happy.
             */
            realLocalRepo = (layout instanceof DefaultRepositoryLayout) && "local".equals(delegate.getId());
        }
    
        @Override
        public LocalRepository getRepository() {
            return repo;
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *     key
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if (map instanceof ImmutableBiMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          // TODO(lowasser): if we need to make a copy of a BiMap because the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       * @throws NullPointerException if any key or value in {@code map} is null
       * @throws ClassCastException if any value is not an instance of the type specified by its key
       */
      public static <B, S extends B> ImmutableClassToInstanceMap<B> copyOf(
          Map<? extends Class<? extends S>, ? extends S> map) {
        if (map instanceof ImmutableClassToInstanceMap) {
          @SuppressWarnings("rawtypes") // JDT-based J2KT Java frontend does not permit the direct cast
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

                sessionSetup(request, response);
                if (response != null && response.received) {
                    return;
                }
    
                if (request instanceof final SmbComTreeConnectAndX tcax) {
                    if (netbiosName != null && tcax.path.endsWith("\\IPC$")) {
                        /* Some pipes may require that the hostname in the tree connect
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

                fail("Should throw exception when no channels available");
            } catch (Exception e) {
                // Expected - no channels available
                assertTrue(e instanceof ChannelLoadBalancer.NoAvailableChannelException);
            }
        }
    
        @Test
        void testRemoveChannel() throws UnknownHostException {
            InetAddress addr = InetAddress.getByName("192.168.1.100");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top