Reviewers: jat,
Description:
Update checkstyle rules to allow for copyright years up to 2029
Please review this at http://gwt-code-reviews.appspot.com/1253801/show
Affected files:
M eclipse/settings/code-style/gwt-checkstyle-tests.xml
M eclipse/settings/code-style/gwt-checkstyle.xml
Index: eclipse/settings/code-style/gwt-checkstyle-tests.xml
===================================================================
--- eclipse/settings/code-style/gwt-checkstyle-tests.xml (revision 9490)
+++ 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 20(0[6789]|
1[0]) Google Inc\.\n \*[ ]*\n \* Licensed under the Apache License, Version
2\.0 \(the "License"\); 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 "AS IS" 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-9]|2[0-9]) Google Inc\.\n \*[ ]*\n \* Licensed under the Apache
License, Version 2\.0 \(the "License"\); 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 "AS IS" 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.xml
===================================================================
--- eclipse/settings/code-style/gwt-checkstyle.xml (revision 9490)
+++ 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 20(0[6789]|
1[0]) Google Inc\.\n \*[ ]*\n \* Licensed under the Apache License, Version
2\.0 \(the "License"\); 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 "AS IS" 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-9]|2[0-9]) Google Inc\.\n \*[ ]*\n \* Licensed under the Apache
License, Version 2\.0 \(the "License"\); 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 "AS IS" 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