Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for anyPath (0.21 seconds)

  1. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

        public void test_isValidVirtualHostPath_emptyVirtualHosts() throws Exception {
            // No virtual hosts configured
            setupVirtualHostHelper();
    
            Boolean result = invokeIsValidVirtualHostPath("/anypath");
            assertFalse("Any non-empty/non-root path should be blocked when no virtual hosts configured", result);
        }
    
        @Test
        public void test_isValidVirtualHostPath_caseInsensitive() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

                                    .get("response.plugins");
                    boolean exists = installed.stream()
                            .map(this::getArtifactFromMap)
                            .anyMatch(a -> a.getName().equals(target.getName()) && a.getVersion().equals(target.getVersion()));
                    if (!exists) {
                        ThreadUtil.sleep(100);
                        continue;
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. .teamcity/scripts/CheckBadMerge.java

            boolean p2IsRelease = p2Branches.stream().anyMatch(b -> b.startsWith("origin/release"));
    
            if (p1IsMaster && !p2IsMaster && p2IsRelease) {
                List<String> badFiles = filesFromMerge(commit).stream()
                    .filter(gitFile -> MONITORED_PATHS.stream().anyMatch(forbiddenPath -> gitFile.startsWith(forbiddenPath)))
                    .collect(Collectors.toList());
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         * @return true if the URL starts with a supported web protocol, false otherwise
         */
        public boolean isValidWebProtocol(final String url) {
            return stream(webProtocols).get(stream -> stream.anyMatch(s -> url.startsWith(s)));
        }
    
        /**
         * Checks if the given URL uses a valid file protocol.
         *
         * @param url the URL to validate
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  5. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            boolean hasThreadEntry = capturedOutput.stream().anyMatch(line -> line.startsWith("Thread:"));
            assertTrue("Should contain Thread: entries", hasThreadEntry);
    
            // Verify format - should contain stack trace entries
            boolean hasStackTrace = capturedOutput.stream().anyMatch(line -> line.startsWith("\tat "));
            assertTrue("Should contain stack trace entries", hasStackTrace);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                if (StringUtil.isEmpty(key) || userBean
                        .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
                                || stream(user.getGroups()).get(stream -> stream.anyMatch(s -> (GROUP_VALUE_PREFIX + s).equals(key))))
                        .orElse(false)) {
                    return p.getSecond();
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns {@code true} if any element in this fluent iterable satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch} (same).
       */
      public final boolean anyMatch(Predicate<? super E> predicate) {
        return Iterables.any(getDelegate(), predicate);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns {@code true} if any element in this fluent iterable satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch} (same).
       */
      public final boolean anyMatch(Predicate<? super E> predicate) {
        return Iterables.any(getDelegate(), predicate);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

            }
            return request;
        }
    
        private boolean consumerPomPresent(Collection<Artifact> artifacts) {
            return artifacts.stream()
                    .anyMatch(a -> "pom".equals(a.getExtension()) && CONSUMER_POM_CLASSIFIER.equals(a.getClassifier()));
        }
    
        private Collection<Artifact> replacePom(Collection<Artifact> artifacts, boolean deployBuildPom) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        FluentIterable<String> iterable = FluentIterable.<String>from(list);
        Predicate<String> predicate = equalTo("pants");
    
        assertFalse(iterable.anyMatch(predicate));
        list.add("cool");
        assertFalse(iterable.anyMatch(predicate));
        list.add("pants");
        assertTrue(iterable.anyMatch(predicate));
      }
    
      public void testAllMatch() {
        List<String> list = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
Back to Top