Merge pull request #7190 from MusaBrt/master

Fixing some dirty codes
This commit is contained in:
Oleg Agafonov 2020-11-18 07:28:25 +01:00 committed by GitHub
commit 0fade0ed8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 15 deletions

View file

@ -40,7 +40,7 @@ public abstract class PlainTextDeckImporter extends DeckImporter {
sbMessage.setLength(0);
try {
try (Scanner scanner = new Scanner(f)) {
Boolean canFix = true;
boolean canFix = true;
while (scanner.hasNextLine()) {
String line = scanner.nextLine().trim();
FixedInfo fixedInfo = new FixedInfo(line);