浏览代码

HADOOP-14449. The ASF Header in ComparableVersion.java and SSLHostnameVerifier.java is not correct. Contributed by ZhangBing Lin.

(cherry picked from commit b7a0c0e7019528fac492e1cb32d374ed014f8673)
Brahma Reddy Battula 8 年之前
父节点
当前提交
cf4e6d6b1d

+ 0 - 11
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ssl/SSLHostnameVerifier.java

@@ -1,9 +1,4 @@
 /*
- * $HeadURL$
- * $Revision$
- * $Date$
- *
- * ====================================================================
  * 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
@@ -20,12 +15,6 @@
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation.  For more
- * information on the Apache Software Foundation, please see
- * <http://www.apache.org/>.
  *
  */
 

+ 15 - 14
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java

@@ -1,17 +1,3 @@
-// Code source of this file: 
-//   http://grepcode.com/file/repo1.maven.org/maven2/
-//     org.apache.maven/maven-artifact/3.1.1/
-//       org/apache/maven/artifact/versioning/ComparableVersion.java/
-//
-// Modifications made on top of the source:
-//   1. Changed
-//        package org.apache.maven.artifact.versioning;
-//      to
-//        package org.apache.hadoop.util;
-//   2. Removed author tags to clear hadoop author tag warning
-//
-package org.apache.hadoop.util;
-
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -31,6 +17,21 @@ package org.apache.hadoop.util;
  * under the License.
  */
 
+// Code source of this file:
+//   http://grepcode.com/file/repo1.maven.org/maven2/
+//     org.apache.maven/maven-artifact/3.1.1/
+//       org/apache/maven/artifact/versioning/ComparableVersion.java/
+//
+// Modifications made on top of the source:
+//   1. Changed
+//        package org.apache.maven.artifact.versioning;
+//      to
+//        package org.apache.hadoop.util;
+//   2. Removed author tags to clear hadoop author tag warning
+//
+package org.apache.hadoop.util;
+
+
 import java.math.BigInteger;
 import java.util.ArrayList;
 import java.util.Arrays;