Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Alphanumeric (0.15 sec)

  1. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        } catch (NullPointerException expected) {
          // pass
        }
      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
       * IllegalArgumentException}.
       */
      public void testBadArguments_badchars() {
        String msg =
            "Alphanumeric characters are always 'safe' " + "and should not be explicitly specified";
        try {
          new PercentEscaper("-+#abc.!", false);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        } catch (NullPointerException expected) {
          // pass
        }
      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
       * IllegalArgumentException}.
       */
      public void testBadArguments_badchars() {
        String msg =
            "Alphanumeric characters are always 'safe' " + "and should not be explicitly specified";
        try {
          new PercentEscaper("-+#abc.!", false);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/PercentEscaper.java

        // TODO(dbeaumont): Support escapers where alphanumeric chars are not safe.
        checkNotNull(safeChars); // eager for GWT.
        // Avoid any misunderstandings about the behavior of this escaper
        if (safeChars.matches(".*[0-9A-Za-z].*")) {
          throw new IllegalArgumentException(
              "Alphanumeric characters are always 'safe' and should not be explicitly specified");
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
Back to top