Skip to content

Commit

Permalink
Fixed PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Ljaysoft committed Aug 12, 2016
1 parent d543c0e commit 121b183
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/me/corriekay/pokegoutil/windows/PokemonTab.java
Expand Up @@ -147,7 +147,7 @@ protected Void doInBackground() throws Exception {

// pokemon name language drop down
String[] locales = {"en", "de", "fr", "ru", "zh_CN", "zh_HK"};
JComboBox<String> pokelang = new JComboBox<String>(locales);
JComboBox<String> pokelang = new JComboBox<>(locales);
String locale = Config.getConfig().getString("options.lang", "en");
pokelang.setSelectedItem(locale);
pokelang.addActionListener(e -> new SwingWorker<Void, Void>() {
Expand Down Expand Up @@ -688,7 +688,7 @@ private void constructNewTableModel(PokemonGo go, List<Pokemon> pokes) {
trs.setComparator(20, c);
trs.setComparator(22, cDate);
trs.setComparator(24, cLong);
trs.setComparator(25, c);
trs.setComparator(25, cLong);
trs.setComparator(26, cLong);
trs.setComparator(27, cDouble);
trs.setComparator(28, cDouble);
Expand Down Expand Up @@ -730,7 +730,7 @@ private static class PokemonTableModel extends AbstractTableModel {
caughtCol = new ArrayList<>(),//22
favCol = new ArrayList<>();//23
private final ArrayList<Long> duelAbilityCol = new ArrayList<>();//24
private final ArrayList<Integer> gymOffenseCol = new ArrayList<>();//25
private final ArrayList<Long> gymOffenseCol = new ArrayList<>();//25
private final ArrayList<Long> gymDefenseCol = new ArrayList<>();//26
private final ArrayList<Double> move1RatingCol = new ArrayList<>(),//27
move2RatingCol = new ArrayList<>();//28
Expand Down

0 comments on commit 121b183

Please sign in to comment.