Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.