Java 1.6+ compatibility (at least) instead of 1.8+ only
[jvcard.git] / src / be / nikiroo / jvcard / tui / Main.java
index fd6d7de4e6e4e5583a36f742ff44fbb65ef277f2..4884e70f8d44efb5835ebbf121332fdad2209f68 100644 (file)
@@ -24,7 +24,7 @@ import com.googlecode.lanterna.input.KeyStroke;
  */
 public class Main {
        public static final String APPLICATION_TITLE = "jVcard";
-       public static final String APPLICATION_VERSION = "1.0-beta2-dev";
+       public static final String APPLICATION_VERSION = "1.0-beta2";
 
        static private Trans transService;
 
@@ -89,7 +89,6 @@ public class Main {
                                                                + "\t--tui: force pure text mode even if swing treminal is available\n"
                                                                + "\t--gui: force swing terminal mode\n"
                                                                + "\t--noutf: force non-utf8 mode if you need it\n"
-                                                               + "\t--noutfa: force non-utf8 and no accents mode if you need it\n"
                                                                + "everyhing else is either a file to open or a directory to open\n"
                                                                + "(we will only open 1st level files in given directories)");
                                return;
@@ -171,8 +170,10 @@ public class Main {
                        Field charset = Charset.class.getDeclaredField("defaultCharset");
                        charset.setAccessible(true);
                        charset.set(null, null);
-               } catch (SecurityException | NoSuchFieldException
-                               | IllegalArgumentException | IllegalAccessException e) {
+               } catch (SecurityException e) {
+               } catch (NoSuchFieldException e) {
+               } catch (IllegalArgumentException e) {
+               } catch (IllegalAccessException e) {
                }
        }
 }