Small cleanup of DistributedFileSystem and DFSClient
----------------------------------------------------

                 Key: HADOOP-1703
                 URL: https://issues.apache.org/jira/browse/HADOOP-1703
             Project: Hadoop
          Issue Type: Improvement
          Components: dfs
            Reporter: Christophe Taton
            Priority: Trivial
             Fix For: 0.15.0
         Attachments: dfs-cleanup-20070809b.patch

Here is a small code cleanup (276 lines), mainly removing some uses of the 
deprecated UTF8 class.

* dfs.DistributedFileSystem:
-- removed unused private field: localFs
-- corrected some >80 columns lines
-- replaced some use of  {{UTF8 getPath() { return new UTF8(getPathName()); }}}
 with {{String getPathName()}}

* dfs.DFSClient:
-- removed some UTF8 in favor of String
-- DFSOutputStream: replaced UTF8 with String

* a few other minor updates reflecting the changes from UTF8 to Strings.

All JUnit tests pass successfully.

Thanks,
Christophe T.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to