Add some documentation for later when I have to look at it again.
[Sone.git] / src / main / java / net / pterodactylus / sone / text / SoneTextParser.java
index 0c20abe..d271203 100644 (file)
@@ -123,6 +123,11 @@ public class SoneTextParser implements Parser<SoneTextParserContext> {
                                continue;
                        }
                        emptyLines = 0;
+                       /*
+                        * lineComplete tracks whether the block you are parsing is the
+                        * first block of the line. this is important because sometimes you
+                        * have to add an additional line break.
+                        */
                        boolean lineComplete = true;
                        while (line.length() > 0) {
                                int nextKsk = line.indexOf("KSK@");