Skip to content
/ jflex Public
forked from jflex-de/jflex

Commit

Permalink
Fix bad String format in precondition
Browse files Browse the repository at this point in the history
thanks error-prone jflex-de#468
  • Loading branch information
regisd committed Oct 18, 2018
1 parent ce7a037 commit e89b81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jflex/src/test/java/jflex/testing/TestFileUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static String resolvePath(String bazelPackage, String path) {
bazelPackage);
Preconditions.checkArgument(
bazelPackage.indexOf(':') <= 0,
"The bazel package is a valid name, but `$s` contain `:`",
"The bazel package is a valid name, but `%s` contain `:`",
bazelPackage);
String safeBazelPackage = bazelPackage.endsWith("/") ? bazelPackage : bazelPackage + "/";
return resolveInternal(safeBazelPackage, path);
Expand Down

0 comments on commit e89b81e

Please sign in to comment.