File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
gbfs-validator-java-cli/src/main/java/org/entur/gbfs/validator/cli Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments