Reviewers: scottb,

Description:
Updating gwt-checkstyle and gwt-checkstyle-tests to allow 2010
Copyright.

Testing:
=======
Manually verified that 2006-2010 pass, and 2005/2011 fail.

Please review this at http://gwt-code-reviews.appspot.com/129801

Affected files:
   eclipse/settings/code-style/gwt-checkstyle-tests.xml
   eclipse/settings/code-style/gwt-checkstyle.xml


Index: eclipse/settings/code-style/gwt-checkstyle.xml
===================================================================
--- eclipse/settings/code-style/gwt-checkstyle.xml      (revision 7354)
+++ eclipse/settings/code-style/gwt-checkstyle.xml      (working copy)
@@ -82,7 +82,7 @@
          </module>
          <module name="RegexpHeader">
              <property name="severity" value="error"/>
-            <property name="header" value="/\*\n \* Copyright 200[6789]  
Google Inc\.\n \*[ ]*\n \* Licensed under the Apache License, Version 2\.0  
\(the &quot;License&quot;\); you may not\n \* use this file except in  
compliance with the License\. You may obtain a copy of\n \* 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,  
WITHOUT\n \* WARRANTIES OR CONDITIONS OF ANY KIND, either express or  
implied\. See the\n \* License for the specific language governing  
permissions and limitations under\n \* the License\.\n \*/"/>
+            <property name="header" value="/\*\n \* Copyright 20(0[6789]| 
1[0]|) Google Inc\.\n \*[ ]*\n \* Licensed under the Apache License,  
Version 2\.0 \(the &quot;License&quot;\); you may not\n \* use this file  
except in compliance with the License\. You may obtain a copy of\n \* 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, WITHOUT\n \* WARRANTIES OR CONDITIONS OF ANY KIND, either  
express or implied\. See the\n \* License for the specific language  
governing permissions and limitations under\n \* the License\.\n \*/"/>
          </module>
          <module name="ImportOrder">
              <property name="severity" value="error"/>
Index: eclipse/settings/code-style/gwt-checkstyle-tests.xml
===================================================================
--- eclipse/settings/code-style/gwt-checkstyle-tests.xml        (revision 7354)
+++ eclipse/settings/code-style/gwt-checkstyle-tests.xml        (working copy)
@@ -89,7 +89,7 @@
          </module>
          <module name="RegexpHeader">
              <property name="severity" value="error"/>
-            <property name="header" value="/\*\n \* Copyright 200[6789]  
Google Inc\.\n \*[ ]*\n \* Licensed under the Apache License, Version 2\.0  
\(the &quot;License&quot;\); you may not\n \* use this file except in  
compliance with the License\. You may obtain a copy of\n \* 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,  
WITHOUT\n \* WARRANTIES OR CONDITIONS OF ANY KIND, either express or  
implied\. See the\n \* License for the specific language governing  
permissions and limitations under\n \* the License\.\n \*/"/>
+            <property name="header" value="/\*\n \* Copyright 20(0[6789]| 
1[0]) Google Inc\.\n \*[ ]*\n \* Licensed under the Apache License, Version  
2\.0 \(the &quot;License&quot;\); you may not\n \* use this file except in  
compliance with the License\. You may obtain a copy of\n \* 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,  
WITHOUT\n \* WARRANTIES OR CONDITIONS OF ANY KIND, either express or  
implied\. See the\n \* License for the specific language governing  
permissions and limitations under\n \* the License\.\n \*/"/>
          </module>
          <module name="ImportOrder">
              <property name="severity" value="error"/>


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to