We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5804608 commit 744ed43Copy full SHA for 744ed43
framework/src/main/java/org/tron/core/config/args/Args.java
@@ -378,6 +378,7 @@ private static Map<String, String[]> getOptionGroup() {
378
*/
379
public static void setParam(final String[] args, final String confFileName) {
380
Arch.throwUnsupportedJavaException();
381
+ clearParam(); // reset all parameters to avoid the influence in test
382
JCommander.newBuilder().addObject(PARAMETER).build().parse(args);
383
if (PARAMETER.version) {
384
printVersion();
0 commit comments