Sho SHIMIZU
Committed by Gerrit Code Review

Fix comments

- Delete obsolete TODO comment
- Write Javadoc for IntentUpdate subclasses which have no Javadoc

Change-Id: I2b233fa9741733fd3642bbbe639990b1ce0b7405
......@@ -26,6 +26,9 @@ import java.util.Optional;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* Represents a phase where an intent is being compiled.
*/
class Compiling implements IntentUpdate {
private static final Logger log = LoggerFactory.getLogger(Compiling.class);
......
......@@ -21,7 +21,9 @@ import java.util.Optional;
import static com.google.common.base.Preconditions.checkNotNull;
// TODO pull out the IntentUpdate inner classes
/**
* Represents a phase where intent installation has been requested.
*/
class InstallRequest implements IntentUpdate {
// TODO: define an interface and use it, instead of IntentManager
......
......@@ -20,6 +20,9 @@ import org.onosproject.net.intent.IntentData;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.onosproject.net.intent.IntentState.INSTALLING;
/**
* Represent a phase where an intent has been installed.
*/
class Installed extends CompletedIntentUpdate {
private final IntentData intentData;
......
......@@ -21,6 +21,9 @@ import org.onosproject.net.intent.IntentState;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.onosproject.net.intent.IntentState.WITHDRAWING;
/**
* Represents a phase where an intent has been withdrawn.
*/
class Withdrawn extends CompletedIntentUpdate {
private final IntentData intentData;
......