From 7b9b47285d89bf7430929761d93ddd72e14b3ad2 Mon Sep 17 00:00:00 2001 From: kotik-coder Date: Mon, 13 Feb 2023 12:41:27 +0300 Subject: [PATCH] PULsE v1.98 --- src/main/java/pulse/ui/components/PulseMainMenu.java | 8 ++------ src/main/resources/Version.txt | 2 +- src/main/resources/messages.properties | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) 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)