BitOhenry
Committed by Gerrit Code Review

ONOS-3200 unify code formation and fix grammar problem

Change-Id: I968c8b96209e00ef9ef8f9d6bb355e476d048019
......@@ -29,7 +29,7 @@ public final class OvsdbPort {
private final OvsdbPortName portName;
/**
* Constructor from a OvsdbPortNumber portNumber, OvsdbPortName portName.
* Constructor from OvsdbPortNumber portNumber, OvsdbPortName portName.
*
* @param portNumber the portNumber to use
* @param portName the portName to use
......@@ -42,18 +42,18 @@ public final class OvsdbPort {
}
/**
* Gets the port number of the port.
* Gets the port number of port.
*
* @return the port number of the port
* @return the port number of port
*/
public OvsdbPortNumber portNumber() {
return portNumber;
}
/**
* Gets the port name of the port.
* Gets the port name of port.
*
* @return the port name of the port
* @return the port name of port
*/
public OvsdbPortName portName() {
return portName;
......
......@@ -21,14 +21,15 @@ import static com.google.common.base.Preconditions.checkNotNull;
import java.util.Objects;
/**
* The class representing a port number. This class is immutable.
* The class representing a port number.
* This class is immutable.
*/
public final class OvsdbPortName {
private final String value;
/**
* Constructor from a String port name.
* Constructor from a String.
*
* @param value the port name to use
*/
......@@ -38,9 +39,9 @@ public final class OvsdbPortName {
}
/**
* Gets the value of the port name.
* Gets the value of port name.
*
* @return the value of the port name
* @return the value of port name
*/
public String value() {
return value;
......
......@@ -20,14 +20,15 @@ import static com.google.common.base.MoreObjects.toStringHelper;
import java.util.Objects;
/**
* The class representing a port number. This class is immutable.
* The class representing a port number.
* This class is immutable.
*/
public final class OvsdbPortNumber {
private final long value;
/**
* Constructor from a long port number.
* Constructor from a long value.
*
* @param value the port number to use
*/
......@@ -36,9 +37,9 @@ public final class OvsdbPortNumber {
}
/**
* Gets the value of the port number.
* Gets the value of port number.
*
* @return the value of the port number
* @return the value of port number
*/
public long value() {
return value;
......