Backport https://github.com/jclouds/jclouds/pull/472


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

Branch: refs/heads/1.8.x
Commit: d3234b7299f38785b9ddd4a71ef6799d678ee3de
Parents: 59dcf24
Author: Chris Custine <[email protected]>
Authored: Mon Aug 18 19:13:27 2014 -0600
Committer: Chris Custine <[email protected]>
Committed: Mon Aug 18 19:13:27 2014 -0600

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


http://git-wip-us.apache.org/repos/asf/jclouds/blob/d3234b72/resources/checkstyle.xml
----------------------------------------------------------------------
diff --git a/resources/checkstyle.xml b/resources/checkstyle.xml
index 42490cc..a5a2041 100644
--- a/resources/checkstyle.xml
+++ b/resources/checkstyle.xml
@@ -54,6 +54,25 @@
           <property name="tokens" value="ASSIGN, BAND, BAND_ASSIGN, BOR, 
BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, 
GE, GT, LAND, LE, LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, 
LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SYNCHRONIZED, 
LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, 
NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, SL, SL_ASSIGN, SR, SR_ASSIGN, STAR, 
STAR_ASSIGN, TYPE_EXTENSION_AND" />
         </module>
     </module>
+    <module name="Header">
+        <property name="header" value="/*\n
+* Licensed to the Apache Software Foundation (ASF) under one or more\n
+* contributor license agreements.  See the NOTICE file distributed with\n
+* this work for additional information regarding copyright ownership.\n
+* The ASF licenses this file to You under the Apache License, Version 2.0\n
+* (the &quot;License&quot;); you may not use this file except in compliance 
with\n
+* the License.  You may obtain a copy of the License at\n
+*\n
+*     http://www.apache.org/licenses/LICENSE-2.0\n
+*\n
+* Unless required by applicable law or agreed to in writing, software\n
+* distributed under the License is distributed on an &quot;AS IS&quot; BASIS,\n
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n
+* See the License for the specific language governing permissions and\n
+* limitations under the License.\n
+*/\n"/>
+        <property name="fileExtensions" value="java"/>
+    </module>    
     <module name="RegexpMultiline">
         <property name="format" value="@author"/>
         <property name="message" value="Do not use Javadoc @author 
annotation"/>

Reply via email to