Remove unnecessary variable assignment
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 20 Jul 2015 20:30:38 +0000 (22:30 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 20 Jul 2015 20:30:38 +0000 (22:30 +0200)
src/main/java/net/pterodactylus/sone/text/SoneTextParser.java

index f628279..62fc7dc 100644 (file)
@@ -168,7 +168,6 @@ public class SoneTextParser implements Parser<SoneTextParserContext> {
                                        if (next > 0) {
                                                parts.add(new PlainTextPart(line.substring(0, next)));
                                                line = line.substring(next);
-                                               next = 0;
                                        }
                                        lineComplete = false;