diff --git a/lib/src/main/java/de/m3y/hadoop/hdfs/hfsa/core/FSImageLoader.java b/lib/src/main/java/de/m3y/hadoop/hdfs/hfsa/core/FSImageLoader.java index e3574d1..10e748b 100644 --- a/lib/src/main/java/de/m3y/hadoop/hdfs/hfsa/core/FSImageLoader.java +++ b/lib/src/main/java/de/m3y/hadoop/hdfs/hfsa/core/FSImageLoader.java @@ -392,6 +392,7 @@ public List getFileINodesInDirectory(String pat * Returns the INode of a directory, file or symlink for the specified path. * * @param path the path of the inode. + * @return the INode found. * @throws IOException on error. */ public FsImageProto.INodeSection.INode getINodeFromPath(String path) throws IOException { @@ -489,6 +490,7 @@ public List getChildPaths(String path) throws IOException { * * @param path the directory path - must exist, or a java.util.NoSuchElementException will be thrown. * @return true, if child inodes exist. + * @throws IOException on error. */ public boolean hasChildren(String path) throws IOException { final long rootNodeId = lookup(path); diff --git a/lib/src/main/java/de/m3y/hadoop/hdfs/hfsa/util/IECBinary.java b/lib/src/main/java/de/m3y/hadoop/hdfs/hfsa/util/IECBinary.java index 963c8c2..47cacd0 100644 --- a/lib/src/main/java/de/m3y/hadoop/hdfs/hfsa/util/IECBinary.java +++ b/lib/src/main/java/de/m3y/hadoop/hdfs/hfsa/util/IECBinary.java @@ -17,7 +17,7 @@ private IECBinary() { /** * Formats as IEC binary, rounding fractions. *

- * Example: 1024 => 1 KiB + * Example: 1024 => 1 KiB * * @param numericalValue the numerical value * @return the formatted value