commit | 10d9962b212eb601e4a30b428efd17c4bbabb5ac | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Sat Aug 26 00:58:24 2017 +0900 |
committer | Thomas Vachuska <tom@opennetworking.org> | Fri Nov 10 19:55:00 2017 +0000 |
tree | 55f74f0a0405906a279c8bed7b6d9f02fff14617 | |
parent | 52de681a3d876ff8006afb45005e04f98bb18748 [diff] [blame] |
Fix: resolve grpServReg compilation error caused by checkstyle Change-Id: I9fa2eef759bac1fb042998d9e715b73123aabbeb
diff --git a/incubator/protobuf/registry/src/main/java/org/onosproject/protobuf/registry/GrpcServiceRegistryImpl.java b/incubator/protobuf/registry/src/main/java/org/onosproject/protobuf/registry/GrpcServiceRegistryImpl.java index 2304f0e..ada1253 100644 --- a/incubator/protobuf/registry/src/main/java/org/onosproject/protobuf/registry/GrpcServiceRegistryImpl.java +++ b/incubator/protobuf/registry/src/main/java/org/onosproject/protobuf/registry/GrpcServiceRegistryImpl.java
@@ -35,6 +35,7 @@ import java.util.Dictionary; import java.util.Map; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicBoolean; import static org.onlab.util.Tools.get; @@ -52,6 +53,7 @@ private static final int DEFAULT_SERVER_PORT = 64000; private static final int DEFAULT_SHUTDOWN_TIME = 1; + private static final AtomicBoolean SERVICES_MODIFIED_SINCE_START = new AtomicBoolean(false); private static final String PORT_PROPERTY_NAME = "listeningPort";