Sho SHIMIZU

Rename instance field

Change-Id: I00ecd3fe74806dc800af1f48153b18941755a0d2
......@@ -25,20 +25,20 @@ import static org.onosproject.net.intent.IntentState.CORRUPT;
*/
public class Corrupt extends FinalIntentProcessPhase {
private final IntentData intentData;
private final IntentData data;
/**
* Create an instance with the specified data.
*
* @param intentData intentData
* @param data intentData
*/
Corrupt(IntentData intentData) {
this.intentData = checkNotNull(intentData);
this.intentData.setState(CORRUPT);
Corrupt(IntentData data) {
this.data = checkNotNull(data);
this.data.setState(CORRUPT);
}
@Override
public IntentData data() {
return intentData;
return data;
}
}
......
......@@ -25,20 +25,20 @@ import static org.onosproject.net.intent.IntentState.FAILED;
*/
public class Failed extends FinalIntentProcessPhase {
private final IntentData intentData;
private final IntentData data;
/**
* Create an instance with the specified data.
*
* @param intentData intentData
* @param data intentData
*/
Failed(IntentData intentData) {
this.intentData = checkNotNull(intentData);
this.intentData.setState(FAILED);
Failed(IntentData data) {
this.data = checkNotNull(data);
this.data.setState(FAILED);
}
@Override
public IntentData data() {
return intentData;
return data;
}
}
......