hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r632056 - in /hadoop/core/trunk: CHANGES.txt src/java/org/apache/hadoop/io/SetFile.java
Date Thu, 28 Feb 2008 17:04:31 GMT
Author: tomwhite
Date: Thu Feb 28 09:04:26 2008
New Revision: 632056

URL: http://svn.apache.org/viewvc?rev=632056&view=rev
Log:
HADOOP-2800.  Deprecate SetFile.Writer constructor not the whole class.  Contributed by Johan
Oskarsson.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/java/org/apache/hadoop/io/SetFile.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=632056&r1=632055&r2=632056&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Thu Feb 28 09:04:26 2008
@@ -83,6 +83,9 @@
     HADOOP-2871. Fixes a problem to do with file: URI in the JobHistory init.
     (Amareshwari Sri Ramadasu via ddas)
 
+    HADOOP-2800.  Deprecate SetFile.Writer constructor not the whole class.
+    (Johan Oskarsson via tomwhite)
+
 Release 0.16.1 - Unreleased
 
   IMPROVEMENTS

Modified: hadoop/core/trunk/src/java/org/apache/hadoop/io/SetFile.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/java/org/apache/hadoop/io/SetFile.java?rev=632056&r1=632055&r2=632056&view=diff
==============================================================================
--- hadoop/core/trunk/src/java/org/apache/hadoop/io/SetFile.java (original)
+++ hadoop/core/trunk/src/java/org/apache/hadoop/io/SetFile.java Thu Feb 28 09:04:26 2008
@@ -29,12 +29,14 @@
 
   protected SetFile() {}                            // no public ctor
 
-  /** Write a new set file.
-   * @deprecated pass a Configuration too
+  /** 
+   * Write a new set file.
    */
   public static class Writer extends MapFile.Writer {
 
-    /** Create the named set for keys of the named class. */
+    /** Create the named set for keys of the named class. 
+     *  @deprecated pass a Configuration too
+     */
     public Writer(FileSystem fs, String dirName, Class keyClass) throws IOException {
       super(new Configuration(), fs, dirName, keyClass, NullWritable.class);
     }



Mime
View raw message