Skip to content

Commit bebaf6b

Browse files
committed
ScriptInfo: relocate isReturnValueAppended method
See: https://imagej.net/Coding_style#Ordering_of_code_blocks
1 parent e467c5d commit bebaf6b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/main/java/org/scijava/script/ScriptInfo.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,13 @@ public void setLanguage(final ScriptLanguage scriptLanguage) {
251251
this.scriptLanguage = scriptLanguage;
252252
}
253253

254+
/** Gets whether the return value is appended as an additional output. */
255+
public boolean isReturnValueAppended() {
256+
return appendReturnValue;
257+
}
258+
259+
// -- AbstractModuleInfo methods --
260+
254261
/**
255262
* Parses the script's input and output parameters from the script header.
256263
* <p>
@@ -335,11 +342,6 @@ public void parseParameters() {
335342
}
336343
}
337344

338-
/** Gets whether the return value is appended as an additional output. */
339-
public boolean isReturnValueAppended() {
340-
return appendReturnValue;
341-
}
342-
343345
// -- ModuleInfo methods --
344346

345347
@Override

0 commit comments

Comments
 (0)