Skip to content

Commit

Permalink
[Sonar] Fix java:S3457
Browse files Browse the repository at this point in the history
Printf-style format strings should be used correctly

Signed-off-by: Diego López León <dieguitoll@gmail.com>
  • Loading branch information
diega committed Jan 25, 2022
1 parent f1339ef commit 2f677bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private void logProgress(final long blockNum) {
final long elapseMicros = segmentTimer.elapsed(TimeUnit.MICROSECONDS);
//noinspection PlaceholderCountMatchesArgumentCount
LOG.info(
"Import at block %8d / %,14d gas %,11d micros / Mgps %7.3f segment %6.3f cumulative",
"Import at block {} / {} gas {} micros / Mgps {} segment {} cumulative",
blockNum,
segmentGas,
elapseMicros,
Expand Down

0 comments on commit 2f677bb

Please sign in to comment.