Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 18 of 18 for equalsIgnoreCase (0.09 seconds)

  1. android/guava/src/com/google/common/base/Ascii.java

       * String#equalsIgnoreCase}). However in almost all cases that ASCII strings are used, the author
       * probably wanted the behavior provided by this method rather than the subtle and sometimes
       * surprising behavior of {@code toUpperCase()} and {@code toLowerCase()}.
       *
       * @since 16.0
       */
      public static boolean equalsIgnoreCase(CharSequence s1, CharSequence s2) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     * connect without authentication.
     *
     * ```java
     * for (Challenge challenge : response.challenges()) {
     *   // If this is preemptive auth, use a preemptive credential.
     *   if (challenge.scheme().equalsIgnoreCase("OkHttp-Preemptive")) {
     *     return response.request().newBuilder()
     *         .header("Proxy-Authorization", "secret")
     *         .build();
     *   }
     * }
     * return null; // Didn't find a preemptive auth scheme.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          if (responseCode != 200 || contentType == null) {
            return;
          }
    
          MediaType mediaType = MediaType.parse(contentType);
          if (mediaType == null || !mediaType.subtype().equalsIgnoreCase("html")) {
            return;
          }
    
          Document document = Jsoup.parse(response.body().string(), url.toString());
          for (Element element : document.select("a[href]")) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

         * @return the basedir of the repository
         * TODO need to URL decode for spaces?
         */
        private String basedir(String url) {
            String retValue = null;
    
            if (protocol.equalsIgnoreCase("file")) {
                retValue = url.substring(protocol.length() + 1);
                retValue = decode(retValue);
                // special case: if omitted // on protocol, keep path as is
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    if (spacePos != -1) {
                        expectedChecksum = expectedChecksum.substring(0, spacePos);
                    }
                }
                if (expectedChecksum.equalsIgnoreCase(actualChecksum)) {
                    File checksumFile = new File(destination + checksumFileExtension);
                    if (checksumFile.exists()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                String sourceHint,
                InputLocationTracker tracker) {
            if (string == null || string.length() <= 0) {
                return true;
            }
    
            if ("true".equalsIgnoreCase(string) || "false".equalsIgnoreCase(string)) {
                return true;
            }
    
            addViolation(
                    problems,
                    severity,
                    version,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (proxies != null && repository.getProtocol() != null) {
                for (org.apache.maven.settings.Proxy proxy : proxies) {
                    if (proxy.isActive() && repository.getProtocol().equalsIgnoreCase(proxy.getProtocol())) {
                        if (proxy.getNonProxyHosts() != null
                                && !proxy.getNonProxyHosts().isEmpty()) {
                            ProxyInfo pi = new ProxyInfo();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    clean(String); public static String trim(String); public static String deleteWhitespace(String); public static boolean isNotEmpty(String); public static boolean isEmpty(String); public static boolean equals(String, String); public static boolean equalsIgnoreCase(String, String); public static int indexOfAny(String, String[]); public static int lastIndexOfAny(String, String[]); public static String substring(String, int); public static String substring(String, int, int); public static String left(String,...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 164.6K bytes
    - Click Count (0)
Back to Top