aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2016-07-19 13:49:11 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2016-07-19 13:50:43 +0200
commitaa2f4424a78b962edf0b7e0ef551a82c5822619a (patch)
tree861248d878ae09778b98e4555cfce5c009db67fa
parentfa2ff14e65bea5d3042ffc01c811b00fa6efbd58 (diff)
downloadlombok-aa2f4424a78b962edf0b7e0ef551a82c5822619a.tar.gz
lombok-aa2f4424a78b962edf0b7e0ef551a82c5822619a.tar.bz2
lombok-aa2f4424a78b962edf0b7e0ef551a82c5822619a.zip
[trivial] typo in changelog and comment in PrettyPrinter.java
-rw-r--r--doc/changelog.markdown2
-rw-r--r--src/delombok/lombok/delombok/PrettyPrinter.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/changelog.markdown b/doc/changelog.markdown
index 05b4819b..bdd1c818 100644
--- a/doc/changelog.markdown
+++ b/doc/changelog.markdown
@@ -3,7 +3,7 @@ Lombok Changelog
### v1.16.11 "Edgy Guinea Pig"
* v1.16.10 is the latest release
-* BUGFIX: delombok: for-loops with initializers that are not local variable would be generated incorrectly [Issue 1076](https://github.com/rzwitserloot/lombok/issues/1076)
+* BUGFIX: delombok: for-loops with initializers that are not local variables would be generated incorrectly [Issue 1076](https://github.com/rzwitserloot/lombok/issues/1076)
### v1.16.10 (July 15th, 2016)
* FEATURE: Added support for JBoss logger [Issue #1103](https://github.com/rzwitserloot/lombok/issues/1103)
diff --git a/src/delombok/lombok/delombok/PrettyPrinter.java b/src/delombok/lombok/delombok/PrettyPrinter.java
index d1b47c0d..b5064a33 100644
--- a/src/delombok/lombok/delombok/PrettyPrinter.java
+++ b/src/delombok/lombok/delombok/PrettyPrinter.java
@@ -1075,7 +1075,7 @@ public class PrettyPrinter extends JCTree.Visitor {
@Override public void visitForLoop(JCForLoop tree) {
aPrint("for (");
if (tree.init.nonEmpty()) {
- // ForInit is either a list of StatementExpressionList or a LocalVariableDeclaration
+ // ForInit is either a StatementExpressionList or a LocalVariableDeclaration
if (tree.init.head instanceof JCVariableDecl) {
boolean first = true;
int dims = 0;