HDFS-2029.  In TestWriteRead, check visible length immediately after openning the file and fix code style.  Contributed by John George


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/trunk@1131264 13f79535-47bb-0310-9956-ffa450edef68
2 files changed