Skip to content

Commit

Permalink
GEODE-6094: Fixed string format arguments (apache#2909)
Browse files Browse the repository at this point in the history
  • Loading branch information
nabarunnag authored Nov 29, 2018
1 parent 944951f commit 287114c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ public LocatorState start() {
ProcessLauncherContext.remove();
}

debug("Running Locator on (%1$s) in (%2$s) as (%2$s)...", getId(), getWorkingDirectory(),
debug("Running Locator on (%1$s) in (%2$s) as (%3$s)...", getId(), getWorkingDirectory(),
getMember());
running.set(true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ public ServerState start() {
ProcessLauncherContext.remove();
}

debug("Running Server on (%1$s) in (%2$s) as (%2$s)...", getId(), getWorkingDirectory(),
debug("Running Server on (%1$s) in (%2$s) as (%3$s)...", getId(), getWorkingDirectory(),
getMember());
this.running.set(true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ public String toString() {
}

result.append(String.format("\n%" + longestMemberId + "s ",
"#offline", 0, 0, 0));
"#offline"));
for (Bucket bucket : allBucketIds) {
result.append(String.format("%4s", bucket.getOfflineMembers().size()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ void checkForQueryIdExist(String region, String key) {

Region<String, String> getQueryStore(final String namePath) {
return ValidationUtils.returnValueThrowOnNull(getCache().getInternalRegion(namePath),
new GemfireRestException(String.format("Query store does not exist!", namePath)));
new GemfireRestException(String.format("Query store (%1$s) does not exist!", namePath)));
}

protected String getQueryIdValue(final String regionNamePath, final String key) {
Expand Down

0 comments on commit 287114c

Please sign in to comment.