CheckStyle: Remove (C) from copyright header check
* Updated Apache License, Version 2.0 no longer has (C) symbol in it
http://www.apache.org/licenses/LICENSE-2.0
* Thus, new headers should not include this symbol and our check should
reflect that
Test: upload a CL with the new header format
Change-Id: I5b055f40d2546081e5c459f43cb91437e08c9723
diff --git a/default-copyright-check.xml b/default-copyright-check.xml
index e36f1c7..4d04459 100644
--- a/default-copyright-check.xml
+++ b/default-copyright-check.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- ~ Copyright (C) 2016 The Android Open Source Project
+ ~ Copyright 2016 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
@@ -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 \([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 \*\/" />
+ <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 \*\/" />
</module>