Follow on to Cl/185417760 unifying error messages for glob linter.
I neglected to unify the message text before submit.  This uses the Go version
for both go and Java.
CC=blaze-firehose+cl
RELNOTES:
unifly lint glob(["**/*.java"]) message
@@ -73,10 +73,9 @@ public class NativeRecursiveGlobChecker extends AstVisitorWithNameResolution {
Issue.create(
BAD_RECURSIVE_GLOB,
"go/build-style#globs "
- + "Do not use recursive globs for Java source files. glob() on "
- + "multiple directories is error prone, it can lead to import "
- + "cycles between Java packages that are hard to break.",
- exp.getLocation()));
+ + "Do not use recursive globs for Java source files. glob() on multiple "
+ + "directories is error prone and can cause serious maintenance problems for "
+ + "BUILD files.", exp.getLocation()));
}
} else if (exp.kind() == Expression.Kind.IDENTIFIER) {
Identifier id = (Identifier) exp;
