Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for startswith (0.05 sec)

  1. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

                assertThat(packageName, is(notNullValue()));
                assertThat(shortClassName, is(notNullValue()));
                assertThat(packageName,
                        packageName.startsWith("junit") || packageName.startsWith("org.junit") || packageName.startsWith("org.hamcrest"),
                        is(true));
                count++;
            });
            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

                    }
                    System.out.println(path);
                    assertThat(path, is(notNullValue()));
                    assertThat(path, path.startsWith("junit") || path.startsWith("org/junit") || path.startsWith("org/hamcrest")
                            || path.startsWith("META-INF/") || path.equals("LICENSE-junit.txt"), is(true));
                    assertThat(is, is(notNullValue()));
                    count++;
                } finally {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
            // null case is covered by canDetermineActivation(), so we can do a straight startsWith() here.
            if (jdk.startsWith("[") || jdk.startsWith("(")) {
                try {
                    return matchJdkVersionRange(jdk);
                } catch (InvalidVersionSpecificationException e) {
                    throw new ProfileActivationException(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/TestUtil.java

      static void assertNodeNotInGraphErrorMessage(Throwable throwable) {
        assertThat(throwable).hasMessageThat().startsWith(NODE_STRING);
        assertThat(throwable).hasMessageThat().contains(ERROR_ELEMENT_NOT_IN_GRAPH);
      }
    
      static void assertEdgeNotInGraphErrorMessage(Throwable throwable) {
        assertThat(throwable).hasMessageThat().startsWith(EDGE_STRING);
        assertThat(throwable).hasMessageThat().contains(ERROR_ELEMENT_NOT_IN_GRAPH);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

         */
        private String chopLeadingFileSeparator(String path) {
            if (path != null) {
                if (path.startsWith("/") || path.startsWith("\\")) {
                    path = path.substring(1);
                }
            }
            return path;
        }
    
        @Override
        public void unalignFromBaseDirectory(Model model, File basedir) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

              message.startsWith("System property ") -> Type.Setup
              message.startsWith("Reload ") -> Type.Setup
              message == "No session to resume." -> Type.Handshake
              message.startsWith("Consuming ") -> Type.Handshake
              message.startsWith("Produced ") -> Type.Handshake
              message.startsWith("Negotiated ") -> Type.Handshake
              message.startsWith("Found resumable session") -> Type.Handshake
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         * @return true if the URL is a file system path, false otherwise
         */
        protected boolean isFileSystemPath(final String url) {
            return url.startsWith("file:") || url.startsWith("smb:") || url.startsWith("smb1:") || url.startsWith("ftp:")
                    || url.startsWith("storage:");
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                if (part2.length() == 1 || !part2.startsWith("0")) {
                    buildNumber = tryParseInt(part2);
                    if (buildNumber == null) {
                        qualifier = part2;
                    }
                } else {
                    qualifier = part2;
                }
            }
    
            if ((!part1.contains(".")) && !part1.startsWith("0")) {
                majorVersion = tryParseInt(part1);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                                if (line.startsWith("#END_ALTERNATE")) {
                                    break;
                                }
                            }
                        } else {
                            populate(new InputStreamReader(new SmbFileInputStream(url)));
                        }
                    } else if (line.startsWith("#BEGIN_ALTERNATE")) {
                        alt++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

                else -> throw ProtocolException("Unexpected status line: $statusLine")
              }
          } else if (statusLine.startsWith("ICY ")) {
            // Shoutcast uses ICY instead of "HTTP/1.0".
            protocol = Protocol.HTTP_1_0
            codeStart = 4
          } else if (statusLine.startsWith("SOURCETABLE ")) {
            // NTRIP r1 uses SOURCETABLE instead of HTTP/1.1
            protocol = Protocol.HTTP_1_1
            codeStart = 12
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top