Yuta HIGUCHI

use termService field

Change-Id: I56998905db4f0403e8c244937a788555dea37823
......@@ -254,8 +254,7 @@ public class DeviceManager
// }
return;
}
MastershipTerm term = mastershipService.requestTermService()
.getMastershipTerm(deviceId);
MastershipTerm term = termService.getMastershipTerm(deviceId);
final NodeId myNodeId = clusterService.getLocalNode().id();
if (!myNodeId.equals(term.master())) {
......