YARN-4456. Clean up Lint warnings in nodemanager (templedf via rkanter)

This commit is contained in:
Robert Kanter 2016-10-27 12:37:01 -07:00
parent ae48c496dc
commit 6fbfb501f2

View File

@ -2138,7 +2138,7 @@ private void finishApplication(ApplicationId appId,
ApplicationEventType.APPLICATION_LOG_HANDLING_INITED) };
checkEvents(appEventHandler, expectedInitEvents, false, "getType",
"getApplicationID");
reset(appEventHandler);
reset(new EventHandler[] {appEventHandler});
logAggregationService.handle(new LogHandlerAppFinishedEvent(appId));
logAggregationService.stop();