From b2447f8dd931a41752530d4117523e5476713208 Mon Sep 17 00:00:00 2001 From: Xiaoyu Yao Date: Tue, 26 Sep 2017 10:27:50 -0700 Subject: [PATCH] HDFS-11614. Ozone: Cleanup javadoc issues. Contributed by Mukul Kumar Singh. --- .../java/org/apache/hadoop/ozone/web/utils/JsonUtils.java | 2 +- .../main/java/org/apache/hadoop/utils/MetadataStore.java | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) 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.