avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1717830 - in /avro/trunk: ./ lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/ lang/java/tools/src/test/compiler/output/
Date Thu, 03 Dec 2015 18:54:51 GMT
Author: blue
Date: Thu Dec  3 18:54:51 2015
New Revision: 1717830

URL: http://svn.apache.org/viewvc?rev=1717830&view=rev
Log:
AVRO-1722 ADDENDUM: Java: Fix tests broken by adding licenses.

The Java specific compiler tool's tests expect the file content to match
exactly. Adding license headers broke the tests. This fix reverts the
addition of a licenses and adds the test files to the RAT exclusion
list.

Modified:
    avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Player.java
    avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Position.java
    avro/trunk/lang/java/tools/src/test/compiler/output/Player.java
    avro/trunk/lang/java/tools/src/test/compiler/output/Position.java
    avro/trunk/pom.xml

Modified: avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Player.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Player.java?rev=1717830&r1=1717829&r2=1717830&view=diff
==============================================================================
--- avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Player.java
(original)
+++ avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Player.java
Thu Dec  3 18:54:51 2015
@@ -2,22 +2,6 @@
  * Autogenerated by Avro
  * 
  * DO NOT EDIT DIRECTLY
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
  */
 package avro.examples.baseball;  
 @SuppressWarnings("all")

Modified: avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Position.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Position.java?rev=1717830&r1=1717829&r2=1717830&view=diff
==============================================================================
--- avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Position.java
(original)
+++ avro/trunk/lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Position.java
Thu Dec  3 18:54:51 2015
@@ -2,22 +2,6 @@
  * Autogenerated by Avro
  * 
  * DO NOT EDIT DIRECTLY
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
  */
 package avro.examples.baseball;  
 @SuppressWarnings("all")

Modified: avro/trunk/lang/java/tools/src/test/compiler/output/Player.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/tools/src/test/compiler/output/Player.java?rev=1717830&r1=1717829&r2=1717830&view=diff
==============================================================================
--- avro/trunk/lang/java/tools/src/test/compiler/output/Player.java (original)
+++ avro/trunk/lang/java/tools/src/test/compiler/output/Player.java Thu Dec  3 18:54:51 2015
@@ -2,22 +2,6 @@
  * Autogenerated by Avro
  * 
  * DO NOT EDIT DIRECTLY
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
  */
 package avro.examples.baseball;  
 @SuppressWarnings("all")

Modified: avro/trunk/lang/java/tools/src/test/compiler/output/Position.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/tools/src/test/compiler/output/Position.java?rev=1717830&r1=1717829&r2=1717830&view=diff
==============================================================================
--- avro/trunk/lang/java/tools/src/test/compiler/output/Position.java (original)
+++ avro/trunk/lang/java/tools/src/test/compiler/output/Position.java Thu Dec  3 18:54:51
2015
@@ -2,22 +2,6 @@
  * Autogenerated by Avro
  * 
  * DO NOT EDIT DIRECTLY
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
  */
 package avro.examples.baseball;  
 @SuppressWarnings("all")

Modified: avro/trunk/pom.xml
URL: http://svn.apache.org/viewvc/avro/trunk/pom.xml?rev=1717830&r1=1717829&r2=1717830&view=diff
==============================================================================
--- avro/trunk/pom.xml (original)
+++ avro/trunk/pom.xml Thu Dec  3 18:54:51 2015
@@ -226,6 +226,10 @@
                 <!-- build or test files -->
                 <!-- <exclude>**/target/**</exclude> -->
                 <exclude>**/*.log</exclude>
+                <exclude>lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Player.java</exclude>
+                <exclude>lang/java/tools/src/test/compiler/output-string/avro/examples/baseball/Position.java</exclude>
+                <exclude>lang/java/tools/src/test/compiler/output/Player.java</exclude>
+                <exclude>lang/java/tools/src/test/compiler/output/Position.java</exclude>
                 <exclude>lang/csharp/src/apache/test/Ipc/GeneratedFiles/**/*.cs</exclude>
                 <exclude>lang/csharp/src/apache/perf/com/foo/*.cs</exclude>
                 <exclude>lang/csharp/src/apache/ipc/org/apache/avro/ipc/*.cs</exclude>



Mime
View raw message