Committed by
Gerrit Code Review
ONOS-3200 unify code formation and fix grammar problem
Change-Id: I9c67199ce9eef352c52ae178870a813b7dec0f65
Showing
2 changed files
with
5 additions
and
5 deletions
| ... | @@ -60,9 +60,9 @@ import org.slf4j.LoggerFactory; | ... | @@ -60,9 +60,9 @@ import org.slf4j.LoggerFactory; |
| 60 | * The main controller class. Handles all setup and network listeners - | 60 | * The main controller class. Handles all setup and network listeners - |
| 61 | * distributed OVSDBClient. | 61 | * distributed OVSDBClient. |
| 62 | */ | 62 | */ |
| 63 | -public class OVSDBController { | 63 | +public class Controller { |
| 64 | protected static final Logger log = LoggerFactory | 64 | protected static final Logger log = LoggerFactory |
| 65 | - .getLogger(OVSDBController.class); | 65 | + .getLogger(Controller.class); |
| 66 | 66 | ||
| 67 | private int ovsdbPort = OvsdbConstant.OVSDBPORT; | 67 | private int ovsdbPort = OvsdbConstant.OVSDBPORT; |
| 68 | 68 | ||
| ... | @@ -251,12 +251,12 @@ public class OVSDBController { | ... | @@ -251,12 +251,12 @@ public class OVSDBController { |
| 251 | } | 251 | } |
| 252 | 252 | ||
| 253 | private class ConnectionListener implements ChannelFutureListener { | 253 | private class ConnectionListener implements ChannelFutureListener { |
| 254 | - private OVSDBController controller; | 254 | + private Controller controller; |
| 255 | private IpAddress ip; | 255 | private IpAddress ip; |
| 256 | private TpPort port; | 256 | private TpPort port; |
| 257 | private AtomicInteger count = new AtomicInteger(); | 257 | private AtomicInteger count = new AtomicInteger(); |
| 258 | 258 | ||
| 259 | - public ConnectionListener(OVSDBController controller, | 259 | + public ConnectionListener(Controller controller, |
| 260 | IpAddress ip, | 260 | IpAddress ip, |
| 261 | TpPort port) { | 261 | TpPort port) { |
| 262 | this.controller = controller; | 262 | this.controller = controller; | ... | ... |
| ... | @@ -94,7 +94,7 @@ public class OvsdbControllerImpl implements OvsdbController { | ... | @@ -94,7 +94,7 @@ public class OvsdbControllerImpl implements OvsdbController { |
| 94 | 94 | ||
| 95 | protected ConcurrentHashMap<String, String> requestDbName = new ConcurrentHashMap<String, String>(); | 95 | protected ConcurrentHashMap<String, String> requestDbName = new ConcurrentHashMap<String, String>(); |
| 96 | 96 | ||
| 97 | - private final OVSDBController controller = new OVSDBController(); | 97 | + private final Controller controller = new Controller(); |
| 98 | 98 | ||
| 99 | @Activate | 99 | @Activate |
| 100 | public void activate(ComponentContext context) { | 100 | public void activate(ComponentContext context) { | ... | ... |
-
Please register or login to post a comment