Skip to content

Commit 7c8ae30

Browse files
committed
formatting
1 parent 897b3f3 commit 7c8ae30

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

‎src/main/java/com/neuronrobotics/bowlerstudio/scripting/DownloadManager.java‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ private static boolean isWindows() {
274274
// -------------------------------------------------------------------------
275275

276276
public static void main(String[] args) {
277-
for (String name : new String[] { "inkscape", "blender", "freecad", "openscad" }) {
277+
for (String name : new String[]{"inkscape", "blender", "freecad", "openscad"}) {
278278
Optional<Path> result = findExecutable(name);
279279
System.out.printf("%-10s → %s%n", name, result.map(Path::toString).orElse("not found"));
280280
}
@@ -547,8 +547,7 @@ private static File getExecutable(String exeType, IExternalEditor editor, String
547547
if (fromJavaHome.isPresent())
548548
return fromJavaHome.get().toFile();
549549
}
550-
ArrayList<String> filesInGit = null;
551-
;
550+
ArrayList<String> filesInGit = null;;
552551
try {
553552
filesInGit = ScriptingEngine.filesInGit(editorsURL);
554553
} catch (Exception e) {
@@ -1221,8 +1220,7 @@ public static void extractTarXz(String inputFile, String outputDir) throws IOExc
12211220
}
12221221
} catch (Throwable ex) {
12231222
downloadEvents.finishDownload();
1224-
com.neuronrobotics.sdk.common.Log.error(ex);
1225-
;
1223+
com.neuronrobotics.sdk.common.Log.error(ex);;
12261224
new File(inputFile).delete();
12271225
throw ex;
12281226
}
@@ -1437,8 +1435,7 @@ private static void rawFileDownload(ProcessInputStream pis, File folder, File ou
14371435
out.flush();
14381436
out.close();
14391437
} catch (Exception ex) {
1440-
com.neuronrobotics.sdk.common.Log.error(ex);
1441-
;
1438+
com.neuronrobotics.sdk.common.Log.error(ex);;
14421439
output.delete();
14431440
}
14441441
exe.delete();

0 commit comments

Comments
 (0)