Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 2,123 for instanceof (0.08 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        }
    
        /**
         * Serialize the inbound Model instance to a StringWriter, perform the regex replacement to resolve
         * POM expressions, then re-parse into the resolved Model instance.
         * <p>
         * <b>NOTE:</b> This will result in a different instance of Model being returned!!!
         *
         * @param model The inbound Model instance, to serialize and reference for expression resolution
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

            final Field responseField = ApiResult.class.getDeclaredField("response");
            responseField.setAccessible(true);
            final Object response = responseField.get(apiResult);
            assertTrue(response instanceof ApiStartJobResponse);
    
            final Field jobLogIdField = ApiStartJobResponse.class.getDeclaredField("jobLogId");
            jobLogIdField.setAccessible(true);
            return (String) jobLogIdField.get(response);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        @DisplayName("TestLocking can be instantiated")
        void testInstantiation() {
            TestLocking t = new TestLocking();
            assertNotNull(t, "TestLocking instance should not be null");
        }
    
        @Test
        @DisplayName("Field values are independent across instances")
        void testIndependentInstances() {
            TestLocking t1 = new TestLocking();
            TestLocking t2 = new TestLocking();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  5. 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;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. 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;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                public Collection<Exclusion> getExclusions() {
                    return exclusions;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultDependencyCoordinatesFactoryRequest that
                            && optional == that.optional
                            && Objects.equals(groupId, that.groupId)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            return result;
        }
    
        /** {@inheritDoc} */
        @Override
        public boolean equals(Object o) {
            if (o == this) {
                return true;
            }
    
            if (o instanceof Artifact a) {
                if (!a.getGroupId().equals(getGroupId())) {
                    return false;
                } else if (!a.getArtifactId().equals(getArtifactId())) {
                    return false;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/CharSource.java

       * returned {@code CharSource} and any {@code Reader} instances created by it is unspecified if
       * the {@code charSequence} is mutated while it is being read, so don't do that.
       *
       * @since 15.0 (since 14.0 as {@code CharStreams.asCharSource(String)})
       */
      public static CharSource wrap(CharSequence charSequence) {
        return charSequence instanceof String
            ? new StringCharSource((String) charSequence)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
Back to Top