Skip to content

Commit 1933a52

Browse files
author
LeonYang5114
committed
Remove unnecessary method call
1 parent 694a484 commit 1933a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/command/CommandModuleItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public List<T> getChoices() {
159159
if (choices.length == 0) return super.getChoices();
160160

161161
final ArrayList<T> choiceList = new ArrayList<T>();
162-
for (final String choice : getParameter().choices()) {
162+
for (final String choice : choices) {
163163
choiceList.add(tValue(choice));
164164
}
165165
return choiceList;

0 commit comments

Comments
 (0)