From: TZVanaalten Date: Wed, 9 Aug 2017 11:01:05 +0000 (+0100) Subject: JAL-2629 removed unnecessary exception throws from Jalview main method X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=20d4c3e0c53a248bc0d8337828a53f9ac3a93724;p=jalview.git JAL-2629 removed unnecessary exception throws from Jalview main method --- diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index 76f9958..5fba92d 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -179,7 +179,6 @@ public class Jalview * @throws IOException */ public static void main(String[] args) - throws IOException, InterruptedException { instance = new Jalview(); instance.doMain(args); @@ -190,7 +189,7 @@ public class Jalview * @throws InterruptedException * @throws IOException */ - void doMain(String[] args) throws IOException, InterruptedException + void doMain(String[] args) { System.setSecurityManager(null); System.out.println("Java version: " diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 9b5681b..d670eba 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -4660,7 +4660,6 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, */ public void loadJalviewDataFile(String file, DataSourceType sourceType, FileFormatI format, SequenceI assocSeq) - throws IOException, InterruptedException { try {