diff --git a/src/main/java/pulse/ui/components/PulseMainMenu.java b/src/main/java/pulse/ui/components/PulseMainMenu.java index caec94a..ccf0f89 100644 --- a/src/main/java/pulse/ui/components/PulseMainMenu.java +++ b/src/main/java/pulse/ui/components/PulseMainMenu.java @@ -194,11 +194,9 @@ private void initComponents() { serializeItem.addActionListener(e -> { try { Serializer.serialize(); - } catch (IOException ex) { - Logger.getLogger(PulseMainMenu.class.getName()).log(Level.SEVERE, null, ex); - } catch (ClassNotFoundException ex) { + } catch (IOException | ClassNotFoundException ex) { Logger.getLogger(PulseMainMenu.class.getName()).log(Level.SEVERE, null, ex); - } + } }); var deserializeItem = new JMenuItem("Load Session..."); @@ -209,8 +207,6 @@ private void initComponents() { Serializer.deserialize(); } catch (IOException ex) { Logger.getLogger(PulseMainMenu.class.getName()).log(Level.SEVERE, null, ex); - } catch (ClassNotFoundException ex) { - Logger.getLogger(PulseMainMenu.class.getName()).log(Level.SEVERE, null, ex); } }); diff --git a/src/main/resources/Version.txt b/src/main/resources/Version.txt index 9688281..9288825 100644 --- a/src/main/resources/Version.txt +++ b/src/main/resources/Version.txt @@ -1 +1 @@ -1.97c \ No newline at end of file +1.98 \ No newline at end of file diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties index b9f7d32..1a4346a 100644 --- a/src/main/resources/messages.properties +++ b/src/main/resources/messages.properties @@ -291,4 +291,4 @@ MixedScheme2.5=Increased Accuracy Semi-implicit Scheme (NL)
TextWrap.1=
TextWrap.2=-msg.running=An instance of PULsE appears to be running. Please switch back to the running version or delete the pulse.lock file found in the PULsE directory. \ No newline at end of file +msg.running=An instance of PULsE appears to be running. Please switch back to the running version or delete the pulse.lock file in the user home directory. \ No newline at end of file