diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/web/utils/JsonUtils.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/web/utils/JsonUtils.java index 81f7a1c7c0..909873f1d1 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/web/utils/JsonUtils.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/web/utils/JsonUtils.java @@ -59,7 +59,7 @@ public static String toJsonString(Object obj) throws IOException { * * @param str json string. * @param elementType element type. - * @return + * @return List of elements of type elementType * @throws IOException */ public static List toJsonList(String str, Class elementType) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/utils/MetadataStore.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/utils/MetadataStore.java index 0c93a7188d..ce40d427c1 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/utils/MetadataStore.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/utils/MetadataStore.java @@ -99,14 +99,12 @@ List> getRangeKVs(byte[] startKey, throws IOException, IllegalArgumentException; /** - * This method is very similar with - * {@link #getRangeKVs(byte[], int, MetadataKeyFilter...)}, the only + * This method is very similar to {@link #getRangeKVs}, the only * different is this method is supposed to return a sequential range * of elements based on the filters. While iterating the elements, * if it met any entry that cannot pass the filter, the iterator will stop * from this point without looking for next match. If no filter is given, - * this method behaves just like - * {@link #getRangeKVs(byte[], int, MetadataKeyFilter...)}. + * this method behaves just like {@link #getRangeKVs}. * * @param startKey a start key. * @param count max number of entries to return.