From e89b81eab106bf0ec29d34c76be40b660263bda2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20D=C3=A9camps?= Date: Thu, 18 Oct 2018 09:25:38 +0200 Subject: [PATCH] Fix bad String format in precondition thanks error-prone #468 --- jflex/src/test/java/jflex/testing/TestFileUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jflex/src/test/java/jflex/testing/TestFileUtil.java b/jflex/src/test/java/jflex/testing/TestFileUtil.java index dab995596..b31cc660c 100644 --- a/jflex/src/test/java/jflex/testing/TestFileUtil.java +++ b/jflex/src/test/java/jflex/testing/TestFileUtil.java @@ -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);