You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2017/10/14 18:14:20 UTC

orc git commit: ORC-253: CSVReader is missing license header [Forced Update!]

Repository: orc
Updated Branches:
  refs/heads/master af29f0386 -> 027c9d7e8 (forced update)


ORC-253: CSVReader is missing license header

Fixes #177

Signed-off-by: Owen O'Malley <om...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/027c9d7e
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/027c9d7e
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/027c9d7e

Branch: refs/heads/master
Commit: 027c9d7e8833fed4aaf25eae445a54506cc20b73
Parents: afd0175
Author: Prasanth Jayachandran <pr...@apache.org>
Authored: Fri Oct 13 17:58:32 2017 -0700
Committer: Owen O'Malley <om...@apache.org>
Committed: Sat Oct 14 11:13:28 2017 -0700

----------------------------------------------------------------------
 java/pom.xml                                       |  9 +++++++++
 .../org/apache/orc/tools/convert/CsvReader.java    | 17 +++++++++++++++++
 2 files changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/orc/blob/027c9d7e/java/pom.xml
----------------------------------------------------------------------
diff --git a/java/pom.xml b/java/pom.xml
index d75212b..1e45fbe 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -194,9 +194,18 @@
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
         <version>0.10</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
         <configuration>
           <excludeSubProject>false</excludeSubProject>
           <excludes>
+            <exclude>**/data/**</exclude>
             <exclude>**/*.json</exclude>
             <exclude>**/*.json.gz</exclude>
             <exclude>**/*.orc</exclude>

http://git-wip-us.apache.org/repos/asf/orc/blob/027c9d7e/java/tools/src/java/org/apache/orc/tools/convert/CsvReader.java
----------------------------------------------------------------------
diff --git a/java/tools/src/java/org/apache/orc/tools/convert/CsvReader.java b/java/tools/src/java/org/apache/orc/tools/convert/CsvReader.java
index a77229a..3ce32ac 100644
--- a/java/tools/src/java/org/apache/orc/tools/convert/CsvReader.java
+++ b/java/tools/src/java/org/apache/orc/tools/convert/CsvReader.java
@@ -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.orc.tools.convert;
 
 import org.apache.hadoop.fs.FSDataInputStream;