Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 1,801 for equals (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

            if (needsInlining.isEmpty()) {
                return artifacts;
            }
            ArrayList<Artifact> newArtifacts = new ArrayList<>(artifacts.size());
            for (Artifact artifact : artifacts) {
                if ("pom".equals(artifact.getExtension())
                        && artifact.getClassifier().isEmpty()) {
                    try {
                        Path tmpPom = Files.createTempFile("pom-inliner-", ".xml");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                    if ("all".equals(trustManager)) {
                        ftpsClient.setTrustManager(TrustManagerUtils.getAcceptAllTrustManager());
                    } else if ("valid".equals(trustManager)) {
                        ftpsClient.setTrustManager(TrustManagerUtils.getValidateServerCertificateTrustManager());
                    } else if ("none".equals(trustManager)) {
                        ftpsClient.setTrustManager(null);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            if (targetLocale.equals(requestLocale) || targetLocale.equals(Locale.ROOT)) {
                return true;
            }
            if (requestLocale == null || !requestLocale.getLanguage().equals(targetLocale.getLanguage())
                    || targetLocale.getCountry().length() > 0 && !requestLocale.getCountry().equals(targetLocale.getCountry())) {
                return false;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultArtifactFactoryRequestArtifact that
                            && Objects.equals(groupId, that.groupId)
                            && Objects.equals(artifactId, that.artifactId)
                            && Objects.equals(version, that.version)
                            && Objects.equals(classifier, that.classifier)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixtureExtension.java

                .stream()
                .filter(p -> p.equals(this.project) == false)
                .filter(p -> p.getExtensions().findByType(TestFixtureExtension.class) != null)
                .map(project -> project.getExtensions().getByType(TestFixtureExtension.class))
                .flatMap(ext -> ext.serviceToProjectUseMap.entrySet().stream())
                .filter(entry -> entry.getKey().equals(serviceName))
                .map(Map.Entry::getValue)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                ArtifactResult result = new ArtifactResult(request);
                results.add(result);
    
                Artifact artifact = request.getArtifact();
                if ("maven-test".equals(artifact.getGroupId())) {
                    String scope = artifact.getArtifactId().substring("scope-".length());
    
                    try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      }
    
      public void testToImmutableSet() {
        Collector<String, ?, ImmutableSet<String>> collector = toImmutableSet();
        Equivalence<ImmutableSet<String>> equivalence =
            Equivalence.equals().onResultOf(ImmutableSet::asList);
        CollectorTester.of(collector, equivalence)
            .expectCollects(ImmutableSet.of("a", "b", "c", "d"), "a", "b", "a", "c", "b", "b", "d");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/PathValidator.java

            }
    
            // Check for standalone double dots that could be dangerous
            String[] parts = path.split("[\\\\/]");
            for (String part : parts) {
                if (".".equals(part) || "..".equals(part)) {
                    return true;
                }
            }
    
            return false;
        }
    
        /**
         * Normalize a path
         */
        private String normalizePath(String path) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

            println("Response 2 cache response:    ${it.cacheResponse}")
            println("Response 2 network response:  ${it.networkResponse}")
            return@use it.body.string()
          }
    
        println("Response 2 equals Response 1? " + (response1Body == response2Body))
      }
    }
    
    fun main() {
      CacheResponse(File("CacheResponse.tmp")).run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java

      // yet visit a variety of "values-relative-to-the-next-power-of-2"
      @Param({"5", "30", "180", "1100", "6900", "43000", "260000"}) // "1600000", "9800000"
      private int size;
    
      // TODO(kevinb): look at exact (==) hits vs. equals() hits?
      @Param({"0.2", "0.8"})
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
      // "" means no fixed seed
      @Param("")
      private SpecialRandom random;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top