Removed method with constant return
This commit is contained in:
parent
38fe457f47
commit
a580133945
@ -85,7 +85,7 @@ import net.bigeon.gclc.exception.CommandParsingException;
|
||||
public final class GCLCConstants {
|
||||
|
||||
/** The escaping character. */
|
||||
private static final char ESCAPING_CHAR = getSystemEscapingChar();
|
||||
private static final char ESCAPING_CHAR = '\\';
|
||||
|
||||
/** Hide utility class constructor. */
|
||||
private GCLCConstants() {
|
||||
@ -108,13 +108,6 @@ public final class GCLCConstants {
|
||||
return cmd.substring(startIndex + 1, index - 1);
|
||||
}
|
||||
|
||||
/** Get the excaping character.
|
||||
*
|
||||
* @return the escaping character */
|
||||
private static char getSystemEscapingChar() {
|
||||
return '\\';
|
||||
}
|
||||
|
||||
/** Remove escaping characters from the string.
|
||||
*
|
||||
* @param arg the string to remove excaping character from
|
||||
|
Loading…
Reference in New Issue
Block a user