Committed by
Gerrit Code Review
ONOS-3200 unify code formation and fix grammar problem
Change-Id: Ica77f7235a2804a79b0015027bfce1376ca60f8b
Showing
4 changed files
with
15 additions
and
15 deletions
... | @@ -16,8 +16,7 @@ | ... | @@ -16,8 +16,7 @@ |
16 | package org.onosproject.ovsdb.controller; | 16 | package org.onosproject.ovsdb.controller; |
17 | 17 | ||
18 | /** | 18 | /** |
19 | - * Represents for a entity that carry important information for listener. | 19 | + * Representation for an entity that carries important information for a listener. |
20 | */ | 20 | */ |
21 | public interface EventSubject { | 21 | public interface EventSubject { |
22 | - | ||
23 | } | 22 | } | ... | ... |
... | @@ -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 bridge name. This class is immutable. | 24 | + * The class representing a bridge name. |
25 | + * This class is immutable. | ||
25 | */ | 26 | */ |
26 | public final class OvsdbBridgeName { | 27 | public final class OvsdbBridgeName { |
27 | 28 | ||
28 | private final String value; | 29 | private final String value; |
29 | 30 | ||
30 | /** | 31 | /** |
31 | - * Constructor from a String bridge name. | 32 | + * Constructor from a String. |
32 | * | 33 | * |
33 | * @param value the bridge name to use | 34 | * @param value the bridge name to use |
34 | */ | 35 | */ |
... | @@ -38,7 +39,7 @@ public final class OvsdbBridgeName { | ... | @@ -38,7 +39,7 @@ public final class OvsdbBridgeName { |
38 | } | 39 | } |
39 | 40 | ||
40 | /** | 41 | /** |
41 | - * Gets the value of the bridge name. | 42 | + * Gets the value of bridge name. |
42 | * | 43 | * |
43 | * @return the value of the bridge name | 44 | * @return the value of the bridge name |
44 | */ | 45 | */ | ... | ... |
... | @@ -43,7 +43,7 @@ public interface OvsdbClientService extends OvsdbRPC { | ... | @@ -43,7 +43,7 @@ public interface OvsdbClientService extends OvsdbRPC { |
43 | OvsdbNodeId nodeId(); | 43 | OvsdbNodeId nodeId(); |
44 | 44 | ||
45 | /** | 45 | /** |
46 | - * Creates the configuration for the tunnel. | 46 | + * Creates the configuration for tunnel. |
47 | * | 47 | * |
48 | * @param srcIp source IP address | 48 | * @param srcIp source IP address |
49 | * @param dstIp destination IP address | 49 | * @param dstIp destination IP address |
... | @@ -62,7 +62,7 @@ public interface OvsdbClientService extends OvsdbRPC { | ... | @@ -62,7 +62,7 @@ public interface OvsdbClientService extends OvsdbRPC { |
62 | boolean createTunnel(String bridgeName, String portName, String tunnelType, Map<String, String> options); | 62 | boolean createTunnel(String bridgeName, String portName, String tunnelType, Map<String, String> options); |
63 | 63 | ||
64 | /** | 64 | /** |
65 | - * Drops the configuration for the tunnel. | 65 | + * Drops the configuration for tunnel. |
66 | * | 66 | * |
67 | * @param srcIp source IP address | 67 | * @param srcIp source IP address |
68 | * @param dstIp destination IP address | 68 | * @param dstIp destination IP address |
... | @@ -70,7 +70,7 @@ public interface OvsdbClientService extends OvsdbRPC { | ... | @@ -70,7 +70,7 @@ public interface OvsdbClientService extends OvsdbRPC { |
70 | void dropTunnel(IpAddress srcIp, IpAddress dstIp); | 70 | void dropTunnel(IpAddress srcIp, IpAddress dstIp); |
71 | 71 | ||
72 | /** | 72 | /** |
73 | - * Gets tunnels of the node. | 73 | + * Gets tunnels of node. |
74 | * | 74 | * |
75 | * @return set of tunnels; empty if no tunnel is find | 75 | * @return set of tunnels; empty if no tunnel is find |
76 | */ | 76 | */ |
... | @@ -102,14 +102,14 @@ public interface OvsdbClientService extends OvsdbRPC { | ... | @@ -102,14 +102,14 @@ public interface OvsdbClientService extends OvsdbRPC { |
102 | void dropBridge(String bridgeName); | 102 | void dropBridge(String bridgeName); |
103 | 103 | ||
104 | /** | 104 | /** |
105 | - * Gets bridges of the node. | 105 | + * Gets bridges of node. |
106 | * | 106 | * |
107 | * @return set of bridges; empty if no bridge is find | 107 | * @return set of bridges; empty if no bridge is find |
108 | */ | 108 | */ |
109 | Set<OvsdbBridge> getBridges(); | 109 | Set<OvsdbBridge> getBridges(); |
110 | 110 | ||
111 | /** | 111 | /** |
112 | - * Gets controllers of the node. | 112 | + * Gets controllers of node. |
113 | * | 113 | * |
114 | * @param openflowDeviceId target device id | 114 | * @param openflowDeviceId target device id |
115 | * @return set of controllers; empty if no controller is find | 115 | * @return set of controllers; empty if no controller is find |
... | @@ -155,7 +155,7 @@ public interface OvsdbClientService extends OvsdbRPC { | ... | @@ -155,7 +155,7 @@ public interface OvsdbClientService extends OvsdbRPC { |
155 | void dropPort(String bridgeName, String portName); | 155 | void dropPort(String bridgeName, String portName); |
156 | 156 | ||
157 | /** | 157 | /** |
158 | - * Gets ports of the bridge. | 158 | + * Gets ports of bridge. |
159 | * | 159 | * |
160 | * @return set of ports; empty if no ports is find | 160 | * @return set of ports; empty if no ports is find |
161 | */ | 161 | */ |
... | @@ -247,7 +247,7 @@ public interface OvsdbClientService extends OvsdbRPC { | ... | @@ -247,7 +247,7 @@ public interface OvsdbClientService extends OvsdbRPC { |
247 | DatabaseSchema getDatabaseSchema(String dbName); | 247 | DatabaseSchema getDatabaseSchema(String dbName); |
248 | 248 | ||
249 | /** | 249 | /** |
250 | - * Gets the ovsdb row from the local ovsdb store. | 250 | + * Gets the ovsdb row from local ovsdb store. |
251 | * | 251 | * |
252 | * @param dbName database name | 252 | * @param dbName database name |
253 | * @param tableName table name | 253 | * @param tableName table name |
... | @@ -257,7 +257,7 @@ public interface OvsdbClientService extends OvsdbRPC { | ... | @@ -257,7 +257,7 @@ public interface OvsdbClientService extends OvsdbRPC { |
257 | Row getRow(String dbName, String tableName, String uuid); | 257 | Row getRow(String dbName, String tableName, String uuid); |
258 | 258 | ||
259 | /** | 259 | /** |
260 | - * Removes the ovsdb row from the local ovsdb store. | 260 | + * Removes the ovsdb row from local ovsdb store. |
261 | * | 261 | * |
262 | * @param dbName database name | 262 | * @param dbName database name |
263 | * @param tableName table name | 263 | * @param tableName table name | ... | ... |
... | @@ -21,7 +21,7 @@ import org.onlab.packet.TpPort; | ... | @@ -21,7 +21,7 @@ import org.onlab.packet.TpPort; |
21 | import java.util.List; | 21 | import java.util.List; |
22 | 22 | ||
23 | /** | 23 | /** |
24 | - * Abstraction of an ovsdb controller. Serves as a one stop shop for obtaining | 24 | + * Abstraction of an ovsdb controller. Serves as an one stop shop for obtaining |
25 | * OvsdbNode and (un)register listeners on ovsdb events and ovsdb node events. | 25 | * OvsdbNode and (un)register listeners on ovsdb events and ovsdb node events. |
26 | */ | 26 | */ |
27 | public interface OvsdbController { | 27 | public interface OvsdbController { |
... | @@ -62,7 +62,7 @@ public interface OvsdbController { | ... | @@ -62,7 +62,7 @@ public interface OvsdbController { |
62 | List<OvsdbNodeId> getNodeIds(); | 62 | List<OvsdbNodeId> getNodeIds(); |
63 | 63 | ||
64 | /** | 64 | /** |
65 | - * Gets a ovsdb client by node identifier. | 65 | + * Gets an ovsdb client by node identifier. |
66 | * | 66 | * |
67 | * @param nodeId node identifier | 67 | * @param nodeId node identifier |
68 | * @return OvsdbClient ovsdb node information | 68 | * @return OvsdbClient ovsdb node information | ... | ... |
-
Please register or login to post a comment