Skip to content

Commit 56cdf52

Browse files
committed
Yse --
1 parent 3abfa91 commit 56cdf52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/csv/Lexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ int readEscape() throws IOException {
518518
void trimTrailingSpaces(final StringBuilder buffer) {
519519
int length = buffer.length();
520520
while (length > 0 && Character.isWhitespace(buffer.charAt(length - 1))) {
521-
length = length - 1;
521+
length--;
522522
}
523523
if (length != buffer.length()) {
524524
buffer.setLength(length);

0 commit comments

Comments
 (0)