[YARN FEDERATION BACKPORT] Fixing more Java 1.7 compilation issues

This commit is contained in:
Carlo Curino 2017-09-21 18:19:36 -07:00
parent 88b32edb8f
commit 7cd9018b13
1 changed files with 7 additions and 5 deletions

View File

@ -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();