@Test public void testDecodeMix() { final String expected = "mixed ascii with " + "1 byte sequences (" + ONE_BYTE + ") and " + "2 byte sequences (" + TWO_BYTES + ") and " + "3 byte sequences (" + THREE_BYTES_A + ") and " + "4 byte sequences (" + FOUR_BYTES + ")"; final String encoded = "mixed ascii with " + "1 byte sequences (" + ONE_BYTE_ENCODED + ") and " + "2 byte sequences (" + TWO_BYTES_ENCODED + ") and " + "3 byte sequences (" + THREE_BYTES_ENCODED_A + ") and " + "4 byte sequences (" + FOUR_BYTES_ENCODED + ")"; assertThat(String.valueOf(decode(encoded)), is(expected)); }
static CharSequence decode(final CharSequence s) { if (!contains(s, '%')) { return s.toString(); } return decode0(s); }
Encoding { static CharSequence decode(final CharSequence s) { if (!contains(s, '%')) { return s.toString(); } return decode0(s); } }
Encoding { static CharSequence decode(final CharSequence s) { if (!contains(s, '%')) { return s.toString(); } return decode0(s); } private  Encoding(); }
Encoding { static CharSequence decode(final CharSequence s) { if (!contains(s, '%')) { return s.toString(); } return decode0(s); } private  Encoding();  }
Encoding { static CharSequence decode(final CharSequence s) { if (!contains(s, '%')) { return s.toString(); } return decode0(s); } private  Encoding();   }