You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2017/10/08 19:41:51 UTC
svn commit: r1811499 - in /commons/proper/configuration/trunk: pom.xml
src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java
Author: oheger
Date: Sun Oct 8 19:41:51 2017
New Revision: 1811499
URL: http://svn.apache.org/viewvc?rev=1811499&view=rev
Log:
Added missing license header.
Added excludes to RAT report for two test configuration files. (AFAIK,
JSON does not support comments, so no license header can be added.)
Modified:
commons/proper/configuration/trunk/pom.xml
commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java
Modified: commons/proper/configuration/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/pom.xml?rev=1811499&r1=1811498&r2=1811499&view=diff
==============================================================================
--- commons/proper/configuration/trunk/pom.xml (original)
+++ commons/proper/configuration/trunk/pom.xml Sun Oct 8 19:41:51 2017
@@ -765,6 +765,8 @@
<excludes>
<exclude>src/java/org/apache/commons/configuration2/plist/*.java</exclude>
<exclude>velocity.log</exclude>
+ <exclude>src/test/resources/test.json</exclude>
+ <exclude>src/test/resources/test.yaml</exclude>
</excludes>
</configuration>
</plugin>
Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java?rev=1811499&r1=1811498&r2=1811499&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java (original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java Sun Oct 8 19:41:51 2017
@@ -1,3 +1,20 @@
+/*
+ * 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 org.apache.commons.configuration2;
import org.apache.commons.configuration2.ex.ConfigurationException;