ONOS-3200 unify code formation and fix grammar problem

Change-Id: I84c7da38790600946a9e3e97ddf9dfe01b4ab92b
This commit is contained in:
BitOhenry 2015-11-04 22:09:04 +08:00 committed by Gerrit Code Review
parent 23e8ee0725
commit 6e204894db
3 changed files with 10 additions and 9 deletions

View File

@ -48,7 +48,7 @@ public final class OvsdbEvent<S> {
}
/**
* Returns the type of the event.
* Returns the type of event.
*
* @return event type
*/
@ -57,7 +57,7 @@ public final class OvsdbEvent<S> {
}
/**
* Returns the subject of the event.
* Returns the subject of event.
*
* @return subject to which this event pertains
*/

View File

@ -22,8 +22,8 @@ import java.util.Objects;
import org.onlab.packet.IpAddress;
/**
* The class representing a OpenStack Compute or Network nodeId. This class is
* immutable.
* The class representing a OpenStack Compute or Network nodeId.
* This class is immutable.
*/
public final class OvsdbNodeId {
private static final String SCHEME = "ovsdb";
@ -31,7 +31,7 @@ public final class OvsdbNodeId {
private final String ipAddress;
/**
* Creates a new node identifier from a IpAddress ipAddress, a long port.
* Creates a new node identifier from an IpAddress ipAddress, a long port.
*
* @param ipAddress node IP address
* @param port node port

View File

@ -21,14 +21,15 @@ import static com.google.common.base.Preconditions.checkNotNull;
import java.util.Objects;
/**
* The class representing a port type. This class is immutable.
* The class representing a port type.
* This class is immutable.
*/
public class OvsdbPortType {
private final String value;
/**
* Constructor from a String port type.
* Constructor from a String.
*
* @param value the port type to use
*/
@ -38,9 +39,9 @@ public class OvsdbPortType {
}
/**
* Gets the value of the port type.
* Gets the value of port type.
*
* @return the value of the port type
* @return the value of port type
*/
public String value() {
return value;