[YARN FEDERATION BACKPORT] Fixing more Java 1.7 compilation issues

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

Branch: refs/heads/branch-2
Commit: 7cd9018b136f5f6de7bb819909d74e4cab8fb19d
Parents: 88b32ed
Author: Carlo Curino <cur...@apache.org>
Authored: Thu Sep 21 18:19:36 2017 -0700
Committer: Carlo Curino <cur...@apache.org>
Committed: Thu Sep 21 18:19:36 2017 -0700

----------------------------------------------------------------------
 .../server/router/webapp/FederationInterceptorREST.java | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/7cd9018b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/FederationInterceptorREST.java
----------------------------------------------------------------------
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/FederationInterceptorREST.java
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/FederationInterceptorREST.java
index 3a91e35..15caf0a 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/FederationInterceptorREST.java
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/FederationInterceptorREST.java
@@ -622,11 +622,13 @@ public class FederationInterceptorREST extends 
AbstractRESTRequestInterceptor {
    * operation.
    */
   @Override
-  public AppsInfo getApps(HttpServletRequest hsr, String stateQuery,
-      Set<String> statesQuery, String finalStatusQuery, String userQuery,
-      String queueQuery, String count, String startedBegin, String startedEnd,
-      String finishBegin, String finishEnd, Set<String> applicationTypes,
-      Set<String> applicationTags, Set<String> unselectedFields) {
+  public AppsInfo getApps(final HttpServletRequest hsr, final String 
stateQuery,
+      final Set<String> statesQuery, final String finalStatusQuery,
+      final String userQuery, final String queueQuery, final String count,
+      final String startedBegin, final String startedEnd,
+      final String finishBegin, final String finishEnd,
+      final Set<String> applicationTypes, final Set<String> applicationTags,
+      final Set<String> unselectedFields) {
     AppsInfo apps = new AppsInfo();
     long startTime = clock.getTime();
 


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

Reply via email to