Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 2,100 for instanceof (0.08 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                        artifacts.put(artifact.getDependencyConflictId(), artifact);
                    }
                }
    
                List<Dependency> dependencies = new ArrayList<>();
                if (request.getArtifact() instanceof ArtifactWithDependencies artifactWithDependencies) {
                    dependencies = artifactWithDependencies.getDependencies();
                } else {
                    Artifact pomArtifact = createProjectArtifact(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

                @Override
                public Nature getNature() {
                    return nature;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultVersionResolverRequest that
                            && Objects.equals(artifactCoordinates, that.artifactCoordinates)
                            && Objects.equals(repositories, that.repositories)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

            }
          }
        }
    
        /*
         * TODO(cpovirk): Should whenAllComplete().call*() log errors, too? Currently, it doesn't call
         * handleException() at all.
         */
        if (throwable instanceof Error) {
          /*
           * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it
           * returned true? This was intentional (CL 46470009), but it seems odd compared to how we
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
                } catch (org.eclipse.aether.resolution.ArtifactResolutionException e) {
                    if (e.getCause() instanceof org.eclipse.aether.transfer.ArtifactNotFoundException) {
                        throw new ArtifactNotFoundException(e.getMessage(), artifact, remoteRepositories, e);
                    } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/StandardNetwork.java

        // methods that access the same node(s) repeatedly, such as Graphs.removeEdgesConnecting().
        this.nodeConnections =
            (nodeConnections instanceof TreeMap)
                ? new MapRetrievalCache<N, NetworkConnections<N, E>>(nodeConnections)
                : new MapIteratorCache<N, NetworkConnections<N, E>>(nodeConnections);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CompactHashMap.java

       * references, which is particularly hard to quantify.
       */
    
      /** Creates an empty {@code CompactHashMap} instance. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          CompactHashMap<K, V> create() {
        return new CompactHashMap<>();
      }
    
      /**
       * Creates a {@code CompactHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without growth.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

            ComponentUtil.register(new SystemHelper(), "systemHelper");
        }
    
        public void test_ScriptExecutorJob_implementsLaJob() {
            final ScriptExecutorJob job = new ScriptExecutorJob();
            assertTrue(job instanceof LaJob);
        }
    
        public void test_ScriptExecutorJob_creation() {
            final ScriptExecutorJob job = new ScriptExecutorJob();
            assertNotNull(job);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  8. 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)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

                        Object value = field.get(null);
                        assertNotNull(value, "Field " + field.getName() + " should not be null");
                        assertTrue(value instanceof HtmlNext, "Field " + field.getName() + " should be HtmlNext instance");
                    }
                }
            }
        }
    
        @Test
        public void test_pathValues() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ComparatorsTest.java

          this.value = value;
        }
    
        @Override
        public int hashCode() {
          return value.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof Foo) && ((Foo) o).value.equals(value);
        }
    
        @Override
        public int compareTo(Foo other) {
          return value.compareTo(other.value);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top