Committed by
Gerrit Code Review
ONOS-3200 unify code formation and fix grammar problem
Change-Id: I968c8b96209e00ef9ef8f9d6bb355e476d048019
Showing
3 changed files
with
15 additions
and
13 deletions
... | @@ -29,7 +29,7 @@ public final class OvsdbPort { | ... | @@ -29,7 +29,7 @@ public final class OvsdbPort { |
29 | private final OvsdbPortName portName; | 29 | private final OvsdbPortName portName; |
30 | 30 | ||
31 | /** | 31 | /** |
32 | - * Constructor from a OvsdbPortNumber portNumber, OvsdbPortName portName. | 32 | + * Constructor from OvsdbPortNumber portNumber, OvsdbPortName portName. |
33 | * | 33 | * |
34 | * @param portNumber the portNumber to use | 34 | * @param portNumber the portNumber to use |
35 | * @param portName the portName to use | 35 | * @param portName the portName to use |
... | @@ -42,18 +42,18 @@ public final class OvsdbPort { | ... | @@ -42,18 +42,18 @@ public final class OvsdbPort { |
42 | } | 42 | } |
43 | 43 | ||
44 | /** | 44 | /** |
45 | - * Gets the port number of the port. | 45 | + * Gets the port number of port. |
46 | * | 46 | * |
47 | - * @return the port number of the port | 47 | + * @return the port number of port |
48 | */ | 48 | */ |
49 | public OvsdbPortNumber portNumber() { | 49 | public OvsdbPortNumber portNumber() { |
50 | return portNumber; | 50 | return portNumber; |
51 | } | 51 | } |
52 | 52 | ||
53 | /** | 53 | /** |
54 | - * Gets the port name of the port. | 54 | + * Gets the port name of port. |
55 | * | 55 | * |
56 | - * @return the port name of the port | 56 | + * @return the port name of port |
57 | */ | 57 | */ |
58 | public OvsdbPortName portName() { | 58 | public OvsdbPortName portName() { |
59 | return portName; | 59 | return portName; | ... | ... |
... | @@ -21,14 +21,15 @@ import static com.google.common.base.Preconditions.checkNotNull; | ... | @@ -21,14 +21,15 @@ import static com.google.common.base.Preconditions.checkNotNull; |
21 | import java.util.Objects; | 21 | import java.util.Objects; |
22 | 22 | ||
23 | /** | 23 | /** |
24 | - * The class representing a port number. This class is immutable. | 24 | + * The class representing a port number. |
25 | + * This class is immutable. | ||
25 | */ | 26 | */ |
26 | public final class OvsdbPortName { | 27 | public final class OvsdbPortName { |
27 | 28 | ||
28 | private final String value; | 29 | private final String value; |
29 | 30 | ||
30 | /** | 31 | /** |
31 | - * Constructor from a String port name. | 32 | + * Constructor from a String. |
32 | * | 33 | * |
33 | * @param value the port name to use | 34 | * @param value the port name to use |
34 | */ | 35 | */ |
... | @@ -38,9 +39,9 @@ public final class OvsdbPortName { | ... | @@ -38,9 +39,9 @@ public final class OvsdbPortName { |
38 | } | 39 | } |
39 | 40 | ||
40 | /** | 41 | /** |
41 | - * Gets the value of the port name. | 42 | + * Gets the value of port name. |
42 | * | 43 | * |
43 | - * @return the value of the port name | 44 | + * @return the value of port name |
44 | */ | 45 | */ |
45 | public String value() { | 46 | public String value() { |
46 | return value; | 47 | return value; | ... | ... |
... | @@ -20,14 +20,15 @@ import static com.google.common.base.MoreObjects.toStringHelper; | ... | @@ -20,14 +20,15 @@ import static com.google.common.base.MoreObjects.toStringHelper; |
20 | import java.util.Objects; | 20 | import java.util.Objects; |
21 | 21 | ||
22 | /** | 22 | /** |
23 | - * The class representing a port number. This class is immutable. | 23 | + * The class representing a port number. |
24 | + * This class is immutable. | ||
24 | */ | 25 | */ |
25 | public final class OvsdbPortNumber { | 26 | public final class OvsdbPortNumber { |
26 | 27 | ||
27 | private final long value; | 28 | private final long value; |
28 | 29 | ||
29 | /** | 30 | /** |
30 | - * Constructor from a long port number. | 31 | + * Constructor from a long value. |
31 | * | 32 | * |
32 | * @param value the port number to use | 33 | * @param value the port number to use |
33 | */ | 34 | */ |
... | @@ -36,9 +37,9 @@ public final class OvsdbPortNumber { | ... | @@ -36,9 +37,9 @@ public final class OvsdbPortNumber { |
36 | } | 37 | } |
37 | 38 | ||
38 | /** | 39 | /** |
39 | - * Gets the value of the port number. | 40 | + * Gets the value of port number. |
40 | * | 41 | * |
41 | - * @return the value of the port number | 42 | + * @return the value of port number |
42 | */ | 43 | */ |
43 | public long value() { | 44 | public long value() { |
44 | return value; | 45 | return value; | ... | ... |
-
Please register or login to post a comment