Update support code for Jexer
[jvcard.git] / src / be / nikiroo / jvcard / launcher / Main.java
index d893e101e710ede1013025beb47f424eb879becd..a073e92921a09c0a41b12dc5af2b718de268f7d0 100644 (file)
@@ -57,7 +57,7 @@ public class Main {
        /**
         * Translate the given {@link StringId} into user text.
         * 
-        * @param stringId
+        * @param id
         *            the ID to translate
         * @param values
         *            the values to insert instead of the place holders in the
@@ -301,11 +301,10 @@ public class Main {
                                        ERR(StringId.CLI_ERR, StringId.CLI_ERR_NO_REMOTING,
                                                        ERR_INTERNAL);
                                        return;
-                               } else {
-                                       e.printStackTrace();
-                                       ERR(StringId.CLI_ERR, StringId.CLI_ERR, ERR_INTERNAL);
-                                       return;
                                }
+                               e.printStackTrace();
+                               ERR(StringId.CLI_ERR, StringId.CLI_ERR, ERR_INTERNAL);
+                               return;
                        }
                        break;
                }
@@ -415,11 +414,10 @@ public class Main {
                                if (!e.isCompiledIn()) {
                                        ERR(StringId.CLI_ERR, StringId.CLI_ERR_NO_TUI, ERR_INTERNAL);
                                        return;
-                               } else {
-                                       e.printStackTrace();
-                                       ERR(StringId.CLI_ERR, StringId.CLI_ERR, ERR_INTERNAL);
-                                       return;
                                }
+                               e.printStackTrace();
+                               ERR(StringId.CLI_ERR, StringId.CLI_ERR, ERR_INTERNAL);
+                               return;
                        }
                        break;
                }