This patch updates our checkstyle rules to accept either 2006 or 2007 for the copyright date in our standard file header. Review by: ecc git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@477 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/eclipse/settings/code-style/gwt-checkstyle.xml b/eclipse/settings/code-style/gwt-checkstyle.xml index 07948aa..93d403e 100644 --- a/eclipse/settings/code-style/gwt-checkstyle.xml +++ b/eclipse/settings/code-style/gwt-checkstyle.xml
@@ -80,9 +80,9 @@ <property name="logLoadErrors" value="true"/> <property name="tokens" value="METHOD_DEF"/> </module> - <module name="Header"> + <module name="RegexpHeader"> <property name="severity" value="error"/> - <property name="header" value="/*\n * Copyright 2006 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 200[67] 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"/>