Skip to content

Commit 0237dc3

Browse files
authored
Update AutoFormat.java
fix #279
1 parent 17ab319 commit 0237dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/processing/mode/java/AutoFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ public String format(final String source) {
732732
case ':':
733733
// Java 8 :: operator.
734734
if (peek() == ':') {
735-
result.append(c).append(nextChar());
735+
buf.append(c).append(nextChar());
736736
break;
737737
}
738738

0 commit comments

Comments
 (0)