Skip to content

Commit a1f1552

Browse files
committed
SwingConsolePane: fix up the persist key constant
We make it private for now, to discourage people from mucking around too deeply. And we remove the leading slash, since it is not necessary.
1 parent 138b57b commit a1f1552

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/org/scijava/ui/swing/console/SwingConsolePane.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@
6060
*/
6161
public class SwingConsolePane extends AbstractConsolePane<JPanel> {
6262

63-
public static final String LOG_FORMATTING_SETTINGS_KEY = "/log-formatting";
63+
/**
64+
* Key to use when when persisting {@link LogFormatter} preferences with the
65+
* {@link PrefService}.
66+
*/
67+
private static final String LOG_FORMATTING_SETTINGS_KEY = "log-formatting";
6468

6569
@Parameter
6670
private Context context;

0 commit comments

Comments
 (0)