Updated copyright notice
[svjatoslav_commons.git] / src / main / java / eu / svjatoslav / commons / commandline / CLIHelper.java
index be7e525..2cbfb8d 100755 (executable)
@@ -1,6 +1,6 @@
 /*
  * Svjatoslav Commons - shared library of common functionality.
- * Copyright ©2012-2014, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of version 3 of the GNU Lesser General Public License
@@ -96,9 +96,7 @@ public class CLIHelper {
             System.out.print(prompt);
 
             try {
-                final String userInput = br.readLine();
-
-                return userInput;
+                return br.readLine();
             } catch (final IOException ioe) {
                 ioe.printStackTrace();
             }