Committed by
Gerrit Code Review
ONOS-3550 Fixed property warnings.
Change-Id: I8deac6a66fa10f600b718e2dc781ca781bc508d9
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -156,13 +156,13 @@ public class LldpLinkProvider extends AbstractProvider implements LinkProvider { | ... | @@ -156,13 +156,13 @@ public class LldpLinkProvider extends AbstractProvider implements LinkProvider { |
156 | private boolean useBddp = true; | 156 | private boolean useBddp = true; |
157 | 157 | ||
158 | private static final String PROP_PROBE_RATE = "probeRate"; | 158 | private static final String PROP_PROBE_RATE = "probeRate"; |
159 | - private static final int DEFAULT_PROBE_RATE = 3_000; | 159 | + private static final int DEFAULT_PROBE_RATE = 3000; |
160 | @Property(name = PROP_PROBE_RATE, intValue = DEFAULT_PROBE_RATE, | 160 | @Property(name = PROP_PROBE_RATE, intValue = DEFAULT_PROBE_RATE, |
161 | label = "LLDP and BDDP probe rate specified in millis") | 161 | label = "LLDP and BDDP probe rate specified in millis") |
162 | private int probeRate = DEFAULT_PROBE_RATE; | 162 | private int probeRate = DEFAULT_PROBE_RATE; |
163 | 163 | ||
164 | private static final String PROP_STALE_LINK_AGE = "staleLinkAge"; | 164 | private static final String PROP_STALE_LINK_AGE = "staleLinkAge"; |
165 | - private static final int DEFAULT_STALE_LINK_AGE = 10_000; | 165 | + private static final int DEFAULT_STALE_LINK_AGE = 10000; |
166 | @Property(name = PROP_STALE_LINK_AGE, intValue = DEFAULT_STALE_LINK_AGE, | 166 | @Property(name = PROP_STALE_LINK_AGE, intValue = DEFAULT_STALE_LINK_AGE, |
167 | label = "Number of millis beyond which links will be considered stale") | 167 | label = "Number of millis beyond which links will be considered stale") |
168 | private int staleLinkAge = DEFAULT_STALE_LINK_AGE; | 168 | private int staleLinkAge = DEFAULT_STALE_LINK_AGE; | ... | ... |
-
Please register or login to post a comment