hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject [1/2] hadoop git commit: Backport Doclet fixes from YARN-3426
Date Wed, 27 Jul 2016 23:42:12 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.7 b904a7fd0 -> 6cb2e9733


Backport Doclet fixes from YARN-3426


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6cb2e973
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6cb2e973
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6cb2e973

Branch: refs/heads/branch-2.7
Commit: 6cb2e9733d65338488fad69a32999fa98e4c15c7
Parents: 63711c3
Author: Wangda Tan <wangda@apache.org>
Authored: Wed Jul 27 16:25:50 2016 -0700
Committer: Wangda Tan <wangda@apache.org>
Committed: Wed Jul 27 16:41:55 2016 -0700

----------------------------------------------------------------------
 .../apache/hadoop/classification/tools/RootDocProcessor.java    | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6cb2e973/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/RootDocProcessor.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/RootDocProcessor.java
b/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/RootDocProcessor.java
index 8042f17..f739e5e 100644
--- a/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/RootDocProcessor.java
+++ b/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/RootDocProcessor.java
@@ -127,6 +127,10 @@ class RootDocProcessor {
               return filter(((ClassDoc) target).constructors(true),
                   ConstructorDoc.class);
             }
+          } else {
+            if (methodName.equals("methods")) {
+              return filter(((ClassDoc) target).methods(true), MethodDoc.class);
+            }
           }
         } else if (target instanceof PackageDoc) {
           if (methodName.equals("allClasses")) {
@@ -245,3 +249,4 @@ class RootDocProcessor {
   }
 
 }
+


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message