X-Git-Url: https://harishankar.org/repos/?p=habeas.git;a=blobdiff_plain;f=src%2Fhabeas%2FHabeas.java;h=ae8052b6551304c2b594a188a97113755bd490d7;hp=59320343689cae5dac112a4dfc7ed699320f202b;hb=67bb9fdd9ae3818a92a528d14d82baae0d483508;hpb=3d2f6cfab3becbf7ad69924e63b91fa7e2745fc7 diff --git a/src/habeas/Habeas.java b/src/habeas/Habeas.java index 5932034..ae8052b 100644 --- a/src/habeas/Habeas.java +++ b/src/habeas/Habeas.java @@ -5,7 +5,6 @@ */ package habeas; -import java.sql.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.UIManager; @@ -22,17 +21,11 @@ public class Habeas { */ public static void main(String[] args) { // TODO code application logic here - Utility.getConnectionURL(); + Utility.retrieveConnectionURL(); try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); - } catch (ClassNotFoundException ex) { - Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex); - } catch (InstantiationException ex) { - Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex); - } catch (IllegalAccessException ex) { - Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex); - } catch (UnsupportedLookAndFeelException ex) { + } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException ex) { Logger.getLogger(Habeas.class.getName()).log(Level.SEVERE, null, ex); }