YARN-6287. RMCriticalThreadUncaughtExceptionHandler.rmContext should be final (Contributed by Corey Barker via Daniel Templeton)

This commit is contained in:
Daniel Templeton 2017-03-07 11:58:48 -08:00 committed by Anu Engineer
parent 0a1762125c
commit 5b0714d161
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class RMCriticalThreadUncaughtExceptionHandler
implements UncaughtExceptionHandler {
private static final Log LOG = LogFactory.getLog(
RMCriticalThreadUncaughtExceptionHandler.class);
private RMContext rmContext;
private final RMContext rmContext;
public RMCriticalThreadUncaughtExceptionHandler(RMContext rmContext) {
this.rmContext = rmContext;