hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject [10/10] hadoop git commit: YARN-3426. Add jdiff support to YARN. (vinodkv via wangda)
Date Fri, 10 Jun 2016 16:53:32 GMT
YARN-3426. Add jdiff support to YARN. (vinodkv via wangda)


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

Branch: refs/heads/trunk
Commit: 03fc6b1bb0f5c0844cd5477ffba43de8a14d4d60
Parents: 244506f
Author: Wangda Tan <wangda@apache.org>
Authored: Fri Jun 10 09:51:09 2016 -0700
Committer: Wangda Tan <wangda@apache.org>
Committed: Fri Jun 10 09:51:09 2016 -0700

----------------------------------------------------------------------
 .../classification/tools/RootDocProcessor.java  |     4 +
 .../jdiff/Apache_Hadoop_YARN_API_2.6.0.xml      | 13076 ++++++++++++++++
 .../jdiff/Apache_Hadoop_YARN_API_2.7.2.xml      | 13692 +++++++++++++++++
 .../jdiff/Apache_Hadoop_YARN_Client.2.6.0.xml   |  2427 +++
 .../jdiff/Apache_Hadoop_YARN_Client_2.7.2.xml   |  2581 ++++
 .../jdiff/Apache_Hadoop_YARN_Common_2.6.0.xml   |  2870 ++++
 .../jdiff/Apache_Hadoop_YARN_Common_2.7.2.xml   |  3323 ++++
 .../Apache_Hadoop_YARN_Server_Common_2.6.0.xml  |  2059 +++
 .../Apache_Hadoop_YARN_Server_Common_2.7.2.xml  |  1801 +++
 .../hadoop-yarn/dev-support/jdiff/Null.java     |    20 +
 .../hadoop-yarn/hadoop-yarn-api/pom.xml         |     2 +
 .../hadoop-yarn/hadoop-yarn-client/pom.xml      |     2 +
 .../hadoop-yarn/hadoop-yarn-common/pom.xml      |     2 +
 .../hadoop-yarn-server-common/pom.xml           |     2 +
 hadoop-yarn-project/hadoop-yarn/pom.xml         |   129 +
 15 files changed, 41990 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/03fc6b1b/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..60c2a6f 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")) {


---------------------------------------------------------------------
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