File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/org/scijava/script Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,16 @@ public synchronized void writeHistory() {
7474 }
7575
7676 @ Override
77- public synchronized String walkHistory (final String currentCommand , boolean forward ) {
77+ public synchronized String walkHistory (final String currentCommand ,
78+ final boolean forward )
79+ {
7880 if (history == null ) return currentCommand ;
7981 history .replace (currentCommand );
8082 return forward ? history .next () : history .previous ();
8183 }
8284
8385 @ Override
84- public void eval (String command ) throws ScriptException {
86+ public void eval (final String command ) throws ScriptException {
8587 if (history != null ) history .add (command );
8688 if (engine == null ) throw new java .lang .IllegalArgumentException ();
8789 engine .eval (command );
You can’t perform that action at this time.
0 commit comments