ACCUMULO-3576 Use checkstyle to prevent use of jline Preconditions
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c475c85f Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c475c85f Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c475c85f Branch: refs/heads/1.6 Commit: c475c85ffcd249b54911a02912992337da8e4c83 Parents: 4e8471a Author: Christopher Tubbs <ctubb...@apache.org> Authored: Tue Feb 10 20:13:32 2015 -0500 Committer: Christopher Tubbs <ctubb...@apache.org> Committed: Tue Feb 10 20:13:32 2015 -0500 ---------------------------------------------------------------------- pom.xml | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/c475c85f/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 5aff5b5..869fe8c 100644 --- a/pom.xml +++ b/pom.xml @@ -748,6 +748,10 @@ <property name="format" value="[@]see\s+[{][@]link" /> <property name="message" value="Javadoc @see does not need @link: pick one or the other." /> </module> + <module name="RegexpSinglelineJava"> + <property name="format" value="jline[.]internal[.]Preconditions" /> + <property name="message" value="Please use Guava Preconditions not JLine" /> + </module> <module name="OuterTypeFilename" /> <module name="LineLength"> <!-- needs extra, because Eclipse formatter ignores the ending left brace -->