Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit da412bf

Browse files
authored
Merge pull request #1063 from kishansagathiya/small_fix_3
Use isEmpty() to check for empty strings
2 parents 55c559d + 068b631 commit da412bf

File tree

1 file changed

+1
-1
lines changed
  • ethereumj-core/src/main/java/org/ethereum

1 file changed

+1
-1
lines changed

ethereumj-core/src/main/java/org/ethereum/Start.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static void main(String args[]) throws IOException, URISyntaxException {
3737
CLIInterface.call(args);
3838

3939
final SystemProperties config = SystemProperties.getDefault();
40-
final boolean actionBlocksLoader = !config.blocksLoader().equals("");
40+
final boolean actionBlocksLoader = !config.blocksLoader().isEmpty();
4141
final boolean actionGenerateDag = !StringUtils.isEmpty(System.getProperty("ethash.blockNumber"));
4242

4343
if (actionBlocksLoader || actionGenerateDag) {

0 commit comments

Comments
 (0)