projects
/
svjatoslav_commons.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated copyright
[svjatoslav_commons.git]
/
src
/
test
/
java
/
eu
/
svjatoslav
/
commons
/
commandline
/
parameterparser
/
ParserTest.java
diff --git
a/src/test/java/eu/svjatoslav/commons/commandline/parameterparser/ParserTest.java
b/src/test/java/eu/svjatoslav/commons/commandline/parameterparser/ParserTest.java
index
5df31b9
..
03b7c19
100755
(executable)
--- a/
src/test/java/eu/svjatoslav/commons/commandline/parameterparser/ParserTest.java
+++ b/
src/test/java/eu/svjatoslav/commons/commandline/parameterparser/ParserTest.java
@@
-1,6
+1,6
@@
/*
* Svjatoslav Commons - shared library of common functionality.
/*
* Svjatoslav Commons - shared library of common functionality.
- * Copyright ©2012-201
7
, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Copyright ©2012-201
9
, 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
*
* 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
@@
-25,7
+25,7
@@
public class ParserTest {
Parser parser;
@Before
Parser parser;
@Before
- public void setUp()
throws Exception
{
+ public void setUp() {
parser = new Parser();
}
parser = new Parser();
}
@@
-34,7
+34,7
@@
public class ParserTest {
// define allowed parameters
final StringParameter helpParameter = parser.add(new StringParameter("Show help screen")
// 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");
final StringParameter compileParameter = parser.add(new StringParameter("Compile code"))
.addAliases("--compile", "-c");