All Downloads are FREE. Search and download functionalities are using the official Maven repository.

im.toss.http.parser.AbstractTokenValidator Maven / Gradle / Ivy

The newest version!
package im.toss.http.parser;

abstract class AbstractTokenValidator implements TokenValidator {

    protected String unexpectedCharacterError(String unexpectedCharacter, int position) {
        return String.format("Unexpected character '%s' at position %d",
                             unexpectedCharacter, position);
    }

    protected String unexpectedCharacterError(char unexpectedCharacter, int position) {
        return unexpectedCharacterError("" + unexpectedCharacter, position);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy