Skip to content

Commit 93a6119

Browse files
authored
Merge pull request #436 from TN8001/confused-method-references
Fix IDE auto-formatting confused by method references (40b1) #279
2 parents af8c1d3 + 0237dc3 commit 93a6119

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)