Skip to content

Commit

Permalink
Missing space in string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
jiachun.fjc committed Aug 31, 2018
1 parent fc82f4d commit addd55f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,8 @@ public long pendingTimeouts() {

private static void reportTooManyInstances() {
String resourceType = Reflects.simpleClassName(HashedWheelTimer.class);
logger.error("You are creating too many " + resourceType + " instances. " +
resourceType + " is a shared resource that must be reused across the JVM," +
"so that only a few instances are created.");
logger.error("You are creating too many {} instances. {} is a shared resource that must be" +
"reused across the JVM, so that only a few instances are created.", resourceType, resourceType);
}

private final class Worker implements Runnable {
Expand Down

0 comments on commit addd55f

Please sign in to comment.