Browse Source

YARN-10736. Fix GetApplicationsRequest JavaDoc. Contributed by Miklos Gergely. (#2906)

Miklos Gergely 4 years ago
parent
commit
ba3bc53f4e

+ 2 - 2
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/GetApplicationsRequest.java

@@ -395,7 +395,7 @@ public abstract class GetApplicationsRequest {
   public abstract void setScope(ApplicationsRequestScope scope);
 
   /**
-   * Set the name to filter applications.
+   * Get the name to filter applications.
    *
    * @return the name
    */
@@ -404,7 +404,7 @@ public abstract class GetApplicationsRequest {
   public abstract String getName();
 
   /**
-   * Get the name to filter applications.
+   * Set the name to filter applications.
    *
    * @param name of the application
    */