Skip to content

Commit

Permalink
Fix String should use equals but not ==. (apache#12619)
Browse files Browse the repository at this point in the history
Fix String should use equals but not ==

(cherry picked from commit c2165e8)
  • Loading branch information
casuallc authored and codelipenghui committed Nov 18, 2021
1 parent 8e3c702 commit 5c51475
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ protected ServerConfiguration newServerConfiguration(int port, String zkServers,
conf.setBookiePort(port);
if (ledgerRootPath != "") {
conf.setMetadataServiceUri("zk://" + zkUtil.getZooKeeperConnectString() + ledgerRootPath);
}else {
} else {
conf.setZkServers(zkServers);
}
conf.setJournalDirName(journalDir.getPath());
Expand Down

0 comments on commit 5c51475

Please sign in to comment.