Make (C) in copyright header check optional am: be4a3ed26a am: f0f1ad3881
am: c789bf66ad
Change-Id: Iae87b6747be719da7a962ba8f070b66ff06e3163
diff --git a/default-copyright-check.xml b/default-copyright-check.xml
index 4d04459..dc5185e 100644
--- a/default-copyright-check.xml
+++ b/default-copyright-check.xml
@@ -18,5 +18,5 @@
<property name="severity" value="error"/>
<message key="header.mismatch"
value="Android Copyright header seems to be incorrect. Expected ''{0}'' on this line."/>
- <property name="header" value="^/\*\n \* Copyright [0-9]{4} The Android Open Source Project\n \*\n \* Licensed under the Apache License, Version 2\.0 \(the \"License\"\);\n \* you may not use this file except in compliance with the License.\n \* 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 "AS IS" 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 \*\/" />
+ <property name="header" value="^/\*\n \* Copyright (\([Cc]\) )?[0-9]{4} The Android Open Source Project\n \*\n \* Licensed under the Apache License, Version 2\.0 \(the \"License\"\);\n \* you may not use this file except in compliance with the License.\n \* 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 "AS IS" 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 \*\/" />
</module>