Permalink
Browse files

BearMenu: List bears in ascending order

  • Loading branch information...
arafsheikh committed Jul 13, 2016
1 parent 555e68f commit 3abe28697ef613e09274fc2e85181cd6b6c09c80
Showing with 2 additions and 0 deletions.
  1. +2 −0 com.coala.core/src/com/coala/core/menu/BearMenu.java
@@ -15,6 +15,7 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
public class BearMenu extends ContributionItem {
@@ -59,6 +60,7 @@ public void widgetSelected(SelectionEvent event) {
for (int i = 0; i < bearList.length(); i++) {
bearNames.add(bearList.getJSONObject(i).getString("name"));
}
Collections.reverse(bearNames);
return bearNames;
}
}

0 comments on commit 3abe286

Please sign in to comment.