From 5cbc88da6dc5870d50fcc30d99c72d03ae98b483 Mon Sep 17 00:00:00 2001 From: Simon Morgan Date: Sun, 28 Jun 2015 14:17:41 +0100 Subject: [PATCH 1/2] org.apache.commons:commons-io:1.3.2 is now at commons-io:commons-io:1.3.2. [WARNING] While downloading org.apache.commons:commons-io:1.3.2 This artifact has been relocated to commons-io:commons-io:1.3.2. https://issues.sonatype.org/browse/MVNCENTRAL-244 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3a435565..871c80fc 100644 --- a/pom.xml +++ b/pom.xml @@ -44,7 +44,7 @@ 1.2 - org.apache.commons + commons-io commons-io 1.3.2 From 7f097049b879f7ddf2f751617fd1a904bb5b3760 Mon Sep 17 00:00:00 2001 From: Simon Morgan Date: Sun, 28 Jun 2015 15:07:11 +0100 Subject: [PATCH 2/2] Add some type parameters to satisfy our generics gods. --- .../java/com/rarchives/ripme/ui/MainWindow.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ui/MainWindow.java b/src/main/java/com/rarchives/ripme/ui/MainWindow.java index 8b9a7826..c7a6f3fb 100644 --- a/src/main/java/com/rarchives/ripme/ui/MainWindow.java +++ b/src/main/java/com/rarchives/ripme/ui/MainWindow.java @@ -111,8 +111,8 @@ public class MainWindow implements Runnable, RipStatusHandler { // Queue private static JButton optionQueue; private static JPanel queuePanel; - private static JList queueList; - private static DefaultListModel queueListModel; + private static JList queueList; + private static DefaultListModel queueListModel; private static JScrollPane queueListScroll; // Configuration @@ -127,7 +127,7 @@ public class MainWindow implements Runnable, RipStatusHandler { private static JButton configSaveDirButton; private static JTextField configRetriesText; private static JCheckBox configAutoupdateCheckbox; - private static JComboBox configLogLevelCombobox; + private static JComboBox configLogLevelCombobox; private static JCheckBox configPlaySound; private static JCheckBox configSaveOrderCheckbox; private static JCheckBox configShowPopup; @@ -392,8 +392,8 @@ public class MainWindow implements Runnable, RipStatusHandler { queuePanel.setBorder(emptyBorder); queuePanel.setVisible(false); queuePanel.setPreferredSize(new Dimension(300, 250)); - queueListModel = new DefaultListModel(); - queueList = new JList(queueListModel); + queueListModel = new DefaultListModel(); + queueList = new JList(queueListModel); queueList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); queueListScroll = new JScrollPane(queueList, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, @@ -423,7 +423,7 @@ public class MainWindow implements Runnable, RipStatusHandler { configAutoupdateCheckbox = new JCheckBox("Auto-update?", Utils.getConfigBoolean("auto.update", true)); configAutoupdateCheckbox.setHorizontalAlignment(JCheckBox.RIGHT); configAutoupdateCheckbox.setHorizontalTextPosition(JCheckBox.LEFT); - configLogLevelCombobox = new JComboBox(new String[] {"Log level: Error", "Log level: Warn", "Log level: Info", "Log level: Debug"}); + configLogLevelCombobox = new JComboBox(new String[] {"Log level: Error", "Log level: Warn", "Log level: Info", "Log level: Debug"}); configLogLevelCombobox.setSelectedItem(Utils.getConfigString("log.level", "Log level: Debug")); setLogLevel(configLogLevelCombobox.getSelectedItem().toString()); configPlaySound = new JCheckBox("Sound when rip completes", Utils.getConfigBoolean("play.sound", false)); @@ -659,7 +659,7 @@ public class MainWindow implements Runnable, RipStatusHandler { configLogLevelCombobox.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { - String level = ((JComboBox) arg0.getSource()).getSelectedItem().toString(); + String level = ((JComboBox) arg0.getSource()).getSelectedItem().toString(); setLogLevel(level); } });