commit | 092e9e2010023f5652d387565abbc7fd79c48ef0 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Thu Feb 01 13:49:47 2018 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Fri Feb 02 23:06:44 2018 +0000 |
tree | 39b83ea62e3d8eda57c2d2d5b398973c942ca588 | |
parent | 9b80fba7430897adbdcbd2482aaf5fd995c7fd3f [diff] |
SONAR suggestions - prevent truncation of arithmetic expressions Change-Id: I4694c0c3183b991a4f0db793f584bc77a5fb7d60
diff --git a/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java b/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java index fd57f09..72243bb 100644 --- a/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java +++ b/src/main/java/org/onosproject/segmentrouting/DefaultRoutingHandler.java
@@ -64,7 +64,7 @@ */ public class DefaultRoutingHandler { private static final int MAX_CONSTANT_RETRY_ATTEMPTS = 5; - private static final int RETRY_INTERVAL_MS = 250; + private static final long RETRY_INTERVAL_MS = 250L; private static final int RETRY_INTERVAL_SCALE = 1; private static final long STABLITY_THRESHOLD = 10; //secs private static final int UPDATE_INTERVAL = 5; //secs