Changed license to CC0
[svjatoslav_commons.git] / src / test / java / eu / svjatoslav / commons / commandline / parameterparser / ParserTest.java
index 5df31b9..44cd67e 100755 (executable)
@@ -1,12 +1,7 @@
 /*
- * Svjatoslav Commons - shared library of common functionality.
- * Copyright ©2012-2017, 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
- * or later as published by the Free Software Foundation.
+ * Svjatoslav Commons - shared library of common functionality. Author: Svjatoslav Agejenko.
+ * This project is released under Creative Commons Zero (CC0) license.
  */
-
 package eu.svjatoslav.commons.commandline.parameterparser;
 
 import eu.svjatoslav.commons.commandline.parameterparser.parameter.FileParameter;
@@ -25,7 +20,7 @@ public class ParserTest {
     Parser parser;
 
     @Before
-    public void setUp() throws Exception {
+    public void setUp() {
         parser = new Parser();
     }
 
@@ -34,7 +29,7 @@ public class ParserTest {
 
         // define allowed parameters
         final StringParameter helpParameter = parser.add(new StringParameter("Show help screen")
-                        .addAliases("--help", "-h").setMandatory());
+                .addAliases("--help", "-h").setMandatory());
 
         final StringParameter compileParameter = parser.add(new StringParameter("Compile code"))
                 .addAliases("--compile", "-c");