@@ -249,7 +249,8 @@ public static void setParam(final String[] args, final String confFileName) {
249
249
logger .debug ("Got privateKey from keystore" );
250
250
}
251
251
252
- if (PARAMETER .isWitness () && CollectionUtils .isEmpty (PARAMETER .localWitnesses .getPrivateKeys ())) {
252
+ if (PARAMETER .isWitness ()
253
+ && CollectionUtils .isEmpty (PARAMETER .localWitnesses .getPrivateKeys ())) {
253
254
logger .warn ("This is a witness node,but localWitnesses is null" );
254
255
}
255
256
@@ -515,7 +516,8 @@ public static void setParam(final String[] args, final String confFileName) {
515
516
? config .getString (Constant .NODE_TRUST_NODE ) : null ;
516
517
}
517
518
518
- PARAMETER .validateSignThreadNum = config .hasPath (Constant .NODE_VALIDATE_SIGN_THREAD_NUM ) ? config
519
+ PARAMETER .validateSignThreadNum =
520
+ config .hasPath (Constant .NODE_VALIDATE_SIGN_THREAD_NUM ) ? config
519
521
.getInt (Constant .NODE_VALIDATE_SIGN_THREAD_NUM )
520
522
: Runtime .getRuntime ().availableProcessors () / 2 ;
521
523
@@ -617,7 +619,8 @@ public static void setParam(final String[] args, final String confFileName) {
617
619
.getInt (Constant .COMMITTEE_CHANGED_DELEGATION ) : 0 ;
618
620
619
621
initBackupProperty (config );
620
- if (Constant .ROCKSDB .equals (CommonParameter .getInstance ().getStorage ().getDbEngine ().toUpperCase ())) {
622
+ if (Constant .ROCKSDB .equals (CommonParameter
623
+ .getInstance ().getStorage ().getDbEngine ().toUpperCase ())) {
621
624
initRocksDbBackupProperty (config );
622
625
initRocksDbSettings (config );
623
626
}
0 commit comments