Skip to content

Commit f252ed6

Browse files
committed
ImageJ2Options: clean up and reformat code
1 parent 29eb35c commit f252ed6

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

src/main/java/net/imagej/legacy/ImageJ2Options.java

+8-15
Original file line numberDiff line numberDiff line change
@@ -75,25 +75,18 @@ public class ImageJ2Options extends OptionsPlugin implements Interactive {
7575
* This system leverages the <a href="http://imagej.net/SCIFIO">SCIFIO</a>
7676
* library to open image files.
7777
*/
78-
@Parameter(
79-
label = "Use SCIFIO when opening files (BETA!)",
80-
description = "<html>Whether to use ImageJ2's file I/O mechanism when "
81-
+ "opening files.<br>Image files will be opened using the SCIFIO library "
82-
+ "(SCientific Image<br>Format Input and Output), which provides truly "
83-
+ "extensible support for<br>reading and writing image file formats.",
78+
@Parameter(label = "Use SCIFIO when opening files (BETA!)",
79+
description = "<html>Whether to use ImageJ2's file I/O mechanism when " +
80+
"opening files.<br>Image files will be opened using the SCIFIO library " +
81+
"(SCientific Image<br>Format Input and Output), which provides truly " +
82+
"extensible support for<br>reading and writing image file formats.",
8483
callback = "run")
8584
private boolean sciJavaIO = false;
8685

87-
/**
88-
*
89-
*/
90-
@Parameter(
91-
label = "SciJava log level",
86+
@Parameter(label = "SciJava log level",
9287
description = "<html>Log level for SciJava",
93-
initializer = "initializeLogLevel",
94-
callback = "setLogLevel",
95-
choices = {"ERROR", "WARN", "INFO", "DEBUG", "TRACE"},
96-
persist = false)
88+
initializer = "initializeLogLevel", callback = "setLogLevel", choices = {
89+
"ERROR", "WARN", "INFO", "DEBUG", "TRACE" }, persist = true)
9790
private String logLevel;
9891

9992
@Parameter(label = "What is ImageJ2?", persist = false, callback = "help")

0 commit comments

Comments
 (0)