Преглед изворни кода

HADOOP-4227. Remove the deprecated class org.apache.hadoop.fs.ShellCommand. (szetszwo)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@697282 13f79535-47bb-0310-9956-ffa450edef68
Tsz-wo Sze пре 16 година
родитељ
комит
7872a1feef
2 измењених фајлова са 3 додато и 25 уклоњено
  1. 3 0
      CHANGES.txt
  2. 0 25
      src/core/org/apache/hadoop/fs/ShellCommand.java

+ 3 - 0
CHANGES.txt

@@ -399,6 +399,9 @@ Trunk (unreleased changes)
     HADOOP-4062. Remove the synchronization on the output stream when a
     connection is closed and also remove an undesirable exception when
     a client is stoped while there is no pending RPC request. (hairong)
+
+    HADOOP-4227. Remove the deprecated class org.apache.hadoop.fs.ShellCommand.
+    (szetszwo)
  
   OPTIMIZATIONS
 

+ 0 - 25
src/core/org/apache/hadoop/fs/ShellCommand.java

@@ -1,25 +0,0 @@
-/**
- * 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.hadoop.fs;
-
-import org.apache.hadoop.util.Shell;
-
-/** A base class for running a unix command like du or df.
- * @deprecated Use {@link Shell} instead.
- */
-abstract public class ShellCommand extends Shell {}