Skip to content

Commit ee1434f

Browse files
committed
bugfix checkstyle
1 parent 141af9f commit ee1434f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

app/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,3 @@ tasks.jacocoTestReport {
4646
csv.required.set(false)
4747
}
4848
}
49-
50-
51-

app/src/main/java/hexlet/code/App.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
package hexlet.code;
22

3-
import hexlet.code.source.Differ;
43
import picocli.CommandLine;
54
import picocli.CommandLine.Command;
65
import picocli.CommandLine.Parameters;
76
import picocli.CommandLine.Option;
7+
import hexlet.code.source.Differ;
88

99
import java.io.IOException;
1010
import java.util.concurrent.Callable;
1111

1212

13+
1314
@Command(name = "gendiff", mixinStandardHelpOptions = true, version = "gendiff 0.9",
1415
description = "Compares two configuration files and shows a difference.")
1516
public final class App implements Callable<Integer> {

app/src/main/java/hexlet/code/source/Differ.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static String generate(String filePath1, String filePath2, String format)
4242
keySet.addAll(dataSecond.keySet());
4343

4444
keySet.forEach(key -> {
45-
String stage = "";
45+
String stage;
4646
var dataFirstValue = dataFirst.get(key) == null ? "null" : dataFirst.get(key);
4747
var dataSecondValue = dataSecond.get(key) == null ? "null" : dataSecond.get(key);
4848

0 commit comments

Comments
 (0)