diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2022-11-04 16:29:19 +0000 |
---|---|---|
committer | TheKodeToad <TheKodeToad@proton.me> | 2022-11-08 16:37:27 +0000 |
commit | 1ea2e854156820ee5ba3c59d0c99fe4465566b9c (patch) | |
tree | 4bd144b1be937da442de7496fcd7429ac1a766c8 /libraries/launcher/org | |
parent | 4a2df30f92262304c63876c6428c81b70a2f4558 (diff) | |
download | PrismLauncher-1ea2e854156820ee5ba3c59d0c99fe4465566b9c.tar.gz PrismLauncher-1ea2e854156820ee5ba3c59d0c99fe4465566b9c.tar.bz2 PrismLauncher-1ea2e854156820ee5ba3c59d0c99fe4465566b9c.zip |
Implicit is generally prefered
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'libraries/launcher/org')
-rw-r--r-- | libraries/launcher/org/prismlauncher/EntryPoint.java | 2 | ||||
-rw-r--r-- | libraries/launcher/org/prismlauncher/exception/ParseException.java | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/libraries/launcher/org/prismlauncher/EntryPoint.java b/libraries/launcher/org/prismlauncher/EntryPoint.java index 0fa3691d..512b01a9 100644 --- a/libraries/launcher/org/prismlauncher/EntryPoint.java +++ b/libraries/launcher/org/prismlauncher/EntryPoint.java @@ -157,7 +157,7 @@ public final class EntryPoint { LOGGER.log(Level.SEVERE, "Wrong argument", e); return ExitCode.ILLEGAL_ARGUMENT; - } catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException e) { + } catch (ReflectiveOperationException e) { LOGGER.log(Level.SEVERE, "Caught reflection exception from launcher", e); return ExitCode.ERROR; diff --git a/libraries/launcher/org/prismlauncher/exception/ParseException.java b/libraries/launcher/org/prismlauncher/exception/ParseException.java index 2fd693e7..49f5b006 100644 --- a/libraries/launcher/org/prismlauncher/exception/ParseException.java +++ b/libraries/launcher/org/prismlauncher/exception/ParseException.java @@ -57,7 +57,6 @@ public final class ParseException extends IllegalArgumentException { } public ParseException() { - super(); } public static ParseException forInputString(String inputString) { |