Ensure no calls to primitive wrapper constructors

Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/df945270
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/df945270
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/df945270

Branch: refs/heads/master
Commit: df945270562bf89ba11ff93e689883af6566e837
Parents: 37d65d3
Author: Andrew Gaul <[email protected]>
Authored: Tue Aug 26 17:51:29 2014 -0700
Committer: Andrew Gaul <[email protected]>
Committed: Tue Aug 26 17:51:29 2014 -0700

----------------------------------------------------------------------
 resources/checkstyle.xml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/df945270/resources/checkstyle.xml
----------------------------------------------------------------------
diff --git a/resources/checkstyle.xml b/resources/checkstyle.xml
index 0266117..c30943d 100644
--- a/resources/checkstyle.xml
+++ b/resources/checkstyle.xml
@@ -25,6 +25,9 @@
     <module name="TreeWalker">
         <module name="AvoidStarImport"/>
         <module name="EmptyStatement"/>
+        <module name="IllegalInstantiation">
+            <property name="classes" 
value="java.lang.Boolean,java.lang.Short,java.lang.Integer,java.lang.Long"/>
+        </module>
 <!--
         jclouds prefers 120 character line lengths but has many files with
         longer lines

Reply via email to