Polish: do simple clean-up

This commit is contained in:
stsypanov
2019-03-07 12:50:16 +02:00
committed by Juergen Hoeller
parent cb4d6f097c
commit 60b72d721d
3 changed files with 3 additions and 7 deletions

View File

@@ -267,7 +267,7 @@ public class StompDecoder {
if (index + 1 >= inString.length()) {
throw new StompConversionException("Illegal escape sequence at index " + index + ": " + inString);
}
Character c = inString.charAt(index + 1);
char c = inString.charAt(index + 1);
if (c == 'r') {
sb.append('\r');
}