Skip to content

Commit f8a2549

Browse files
committed
Format files with prettier
1 parent 7757032 commit f8a2549

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

gbfs-validator-java-cli/src/main/java/org/entur/gbfs/validator/cli/GbfsValidatorCli.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ private boolean hasFatalLoaderErrors(List<LoadedFile> loadedFiles) {
119119
}
120120

121121
private boolean hasNoValidContent(List<LoadedFile> loadedFiles) {
122-
return loadedFiles
123-
.stream()
124-
.noneMatch(file -> file.fileContents() != null);
122+
return loadedFiles.stream().noneMatch(file -> file.fileContents() != null);
125123
}
126124

127125
private Map<String, InputStream> buildFileMap(List<LoadedFile> loadedFiles) {
@@ -150,9 +148,7 @@ private void outputReport(String report) throws IOException {
150148
if (reportFile != null) {
151149
ReportWriter.writeReport(reportFile, report);
152150
if (!"yes".equalsIgnoreCase(printReport)) {
153-
System.out.println(
154-
"Report saved to: " + reportFile.getAbsolutePath()
155-
);
151+
System.out.println("Report saved to: " + reportFile.getAbsolutePath());
156152
}
157153
}
158154
}

0 commit comments

Comments
 (0)