/*
* Svjatoslav Commons - shared library of common functionality.
- * Copyright ©2012-2017, 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
Parser parser;
@Before
- public void setUp() throws Exception {
+ public void setUp() {
parser = new Parser();
}
// 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");