mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Prevent completely suppressing MalformedURLException
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package forge.achievement;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
@@ -130,9 +129,6 @@ public abstract class AchievementCollection implements Iterable<Achievement> {
|
||||
catch (FileNotFoundException e) {
|
||||
//ok if file not found
|
||||
}
|
||||
catch (MalformedURLException e) {
|
||||
//ok if file not found
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
@@ -52,9 +52,6 @@ public class CardPreferences {
|
||||
catch (FileNotFoundException e) {
|
||||
//ok if file not found
|
||||
}
|
||||
catch (MalformedURLException e) {
|
||||
//ok if file not found
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
@@ -114,9 +114,6 @@ public class DeckPreferences {
|
||||
catch (FileNotFoundException e) {
|
||||
//ok if file not found
|
||||
}
|
||||
catch (MalformedURLException e) {
|
||||
//ok if file not found
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
@@ -284,9 +284,6 @@ public enum ItemManagerConfig {
|
||||
catch (FileNotFoundException e) {
|
||||
//ok if file not found
|
||||
}
|
||||
catch (MalformedURLException e) {
|
||||
//ok if file not found
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user