|
@@ -125,7 +125,7 @@ public class SchedulerApplicationAttempt {
|
|
|
public SchedulerApplicationAttempt(ApplicationAttemptId applicationAttemptId,
|
|
|
String user, Queue queue, ActiveUsersManager activeUsersManager,
|
|
|
RMContext rmContext) {
|
|
|
- Preconditions.checkNotNull("RMContext should not be null", rmContext);
|
|
|
+ Preconditions.checkNotNull(rmContext, "RMContext should not be null");
|
|
|
this.rmContext = rmContext;
|
|
|
this.appSchedulingInfo =
|
|
|
new AppSchedulingInfo(applicationAttemptId, user, queue,
|