[STYLE] correction

This commit is contained in:
Edouard DUPIN 2020-09-08 22:49:00 +02:00
parent 15fd0d8505
commit 4e00a71c25
2 changed files with 6 additions and 7 deletions

View File

@ -63,7 +63,7 @@ public class Logger {
haveColor = false; haveColor = false;
else else
System.out.println("error in color state '" + value + "' ==> not in range [true, false, 0, 1]"); System.out.println("error in color state '" + value + "' ==> not in range [true, false, 0, 1]");
// Load system debug level // Load system debug level
value = System.getProperty("logger.level"); value = System.getProperty("logger.level");
if (value != null) { if (value != null) {
@ -72,7 +72,7 @@ public class Logger {
Logger.defaultLevel = level; Logger.defaultLevel = level;
} }
} }
private Logger() {} private Logger() {}
public static void usage() { public static void usage() {
@ -95,10 +95,9 @@ public class Logger {
Log.print(" --log-no-color Disable color in log (default)"); Log.print(" --log-no-color Disable color in log (default)");
Log.print(""); Log.print("");
} }
/**
* Initialize the library with generic argument in command line /** Initialize the library with generic argument in command line
* @param args list of argument that are filtered after * @param args list of argument that are filtered after */
*/
public static void init(List<String> args) { public static void init(List<String> args) {
if (isInit) if (isInit)
return; return;

View File

@ -47,7 +47,7 @@ public class TestBasicLog {
List<String> args = new ArrayList<>(); List<String> args = new ArrayList<>();
Logger.init(args); Logger.init(args);
} }
@Test @Test
@Order(3) @Order(3)
public void ccBasicLogCall() { public void ccBasicLogCall() {