Bump odlparent to 6.0.0 43/84243/13
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 6 Sep 2019 07:04:14 +0000 (09:04 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 3 Oct 2019 10:56:43 +0000 (12:56 +0200)
This bumps odlparent to 6.0.0 as part of Magnesium MRI.

Change-Id: I19505dd80b832cd6ed8b68daf471d9e90d3dfdd2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
49 files changed:
applications/forwardingrules-manager/pom.xml
applications/forwardingrules-manager/src/main/java/org/opendaylight/openflowplugin/applications/frm/impl/FlowNodeReconciliationImpl.java
applications/forwardingrules-sync/pom.xml
applications/lldp-speaker/pom.xml
applications/reconciliation-framework/pom.xml
applications/southbound-cli/pom.xml
applications/topology-lldp-discovery/pom.xml
artifacts/pom.xml
distribution/karaf/pom.xml
extension/features-extension-aggregator/features-openflowplugin-extension/pom.xml
extension/features-extension-aggregator/odl-openflowplugin-nxm-extensions/pom.xml
extension/features-extension-aggregator/odl-openflowplugin-onf-extensions/pom.xml
extension/features-extension-aggregator/pom.xml
extension/openflowplugin-extension-nicira/pom.xml
features-aggregator/features-openflowplugin/pom.xml
features-aggregator/odl-openflowplugin-app-arbitratorreconciliation/pom.xml
features-aggregator/odl-openflowplugin-app-bulk-o-matic/pom.xml
features-aggregator/odl-openflowplugin-app-config-pusher/pom.xml
features-aggregator/odl-openflowplugin-app-forwardingrules-manager/pom.xml
features-aggregator/odl-openflowplugin-app-forwardingrules-sync/pom.xml
features-aggregator/odl-openflowplugin-app-lldp-speaker/pom.xml
features-aggregator/odl-openflowplugin-app-notifications/pom.xml
features-aggregator/odl-openflowplugin-app-reconciliation-framework/pom.xml
features-aggregator/odl-openflowplugin-app-southbound-cli/pom.xml
features-aggregator/odl-openflowplugin-app-table-miss-enforcer/pom.xml
features-aggregator/odl-openflowplugin-app-topology-lldp-discovery/pom.xml
features-aggregator/odl-openflowplugin-app-topology-manager/pom.xml
features-aggregator/odl-openflowplugin-app-topology/pom.xml
features-aggregator/odl-openflowplugin-drop-test/pom.xml
features-aggregator/odl-openflowplugin-flow-services-rest/pom.xml
features-aggregator/odl-openflowplugin-flow-services/pom.xml
features-aggregator/odl-openflowplugin-libraries/pom.xml
features-aggregator/odl-openflowplugin-libraries/src/main/feature/feature.xml
features-aggregator/odl-openflowplugin-nsf-model/pom.xml
features-aggregator/odl-openflowplugin-southbound/pom.xml
features-aggregator/pom.xml
libraries/liblldp/pom.xml
openflowjava/features-openflowjava-aggregator/features-openflowjava/pom.xml
openflowjava/features-openflowjava-aggregator/odl-openflowjava-protocol/pom.xml
openflowjava/features-openflowjava-aggregator/pom.xml
openflowjava/openflow-protocol-api/pom.xml
openflowjava/openflow-protocol-impl/pom.xml
openflowjava/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/SwitchConnectionProviderFactoryImpl.java
openflowplugin-api/pom.xml
openflowplugin-common/pom.xml
openflowplugin-impl/pom.xml
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/device/initialization/OF10DeviceInitializer.java
openflowplugin/pom.xml
samples/learning-switch/pom.xml

index ab7cf535b4b79e1c3a804fe62b99e4afe16da55c..7dec34b697770486797c41d17c44555e8a12443d 100644 (file)
@@ -24,6 +24,7 @@
     <dependency>
       <groupId>com.google.code.findbugs</groupId>
       <artifactId>jsr305</artifactId>
+      <version>3.0.2</version>
       <optional>true</optional>
     </dependency>
     <dependency>
index 0c7b31f7115be13d997be38f31af63faa24bcb8c..80899062a207a2d0d0474bdd94896fd825570144 100644 (file)
@@ -15,6 +15,7 @@ import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.JdkFutureAdapters;
 import com.google.common.util.concurrent.ListenableFuture;
 import com.google.common.util.concurrent.MoreExecutors;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.math.BigInteger;
 import java.util.ArrayList;
 import java.util.Collection;
@@ -548,6 +549,8 @@ public class FlowNodeReconciliationImpl implements FlowNodeReconciliation {
         }
     }
 
+    @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD",
+            justification = "https://github.com/spotbugs/spotbugs/issues/811")
     private BigInteger getDpnIdFromNodeName(String nodeName) {
 
         String dpId = nodeName.substring(nodeName.lastIndexOf(SEPARATOR) + 1);
@@ -698,6 +701,8 @@ public class FlowNodeReconciliationImpl implements FlowNodeReconciliation {
         return nodeIdent.child(StaleMeter.class, new StaleMeterKey(new MeterId(staleMeter.getMeterId())));
     }
 
+    @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD",
+            justification = "https://github.com/spotbugs/spotbugs/issues/811")
     private List<ListenableFuture<RpcResult<AddBundleMessagesOutput>>> addBundleMessages(final FlowCapableNode flowNode,
                                                          final BundleId bundleIdValue,
                                                          final InstanceIdentifier<FlowCapableNode> nodeIdentity) {
@@ -745,6 +750,8 @@ public class FlowNodeReconciliationImpl implements FlowNodeReconciliation {
         return groupBuilder.build();
     }
 
+    @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD",
+            justification = "https://github.com/spotbugs/spotbugs/issues/811")
     private Messages createMessages(final NodeRef nodeRef) {
         final List<Message> messages = new ArrayList<>();
         messages.add(new MessageBuilder().setNode(nodeRef)
index 91624de57f9e80af7e8844e8887b6d6f716919d7..cb768d82f3522d7874459d03237b42bd01adc588 100644 (file)
@@ -19,6 +19,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
 
index 1a6fb8b9c0a7bd5146363431259c188d6d1ad425..972e3428dd066fb126e2c4b23c19080d6acf40b4 100644 (file)
@@ -18,6 +18,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
         <dependency>
index 2e09d3814f093bb4c9988d43bfe3c2f98165dd0b..497405fe43f24b52b0b7308a0352117c2befa0c3 100644 (file)
@@ -73,6 +73,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
     </dependencies>
index 369eaac6aa6696ddde5fdeff18329362d3357532..9b94f7d91440fe172d6ccb90986a906015e19ace 100644 (file)
@@ -72,6 +72,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
     </dependencies>
index 3bf37b8ad8123012d198c0281a6e569314045d06..da9afd5054a59a01316c0e65849c1603263c1de4 100644 (file)
@@ -76,6 +76,7 @@
     <dependency>
       <groupId>com.google.code.findbugs</groupId>
       <artifactId>jsr305</artifactId>
+      <version>3.0.2</version>
       <optional>true</optional>
     </dependency>
       <dependency>
index 6f8b7ec256c74123fd76b182a0538d56efaa3e3e..09b591fdbccfd78862b91682df16e1086162ae11 100644 (file)
@@ -13,7 +13,7 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent-lite</artifactId>
-    <version>5.0.2</version>
+    <version>6.0.0</version>
     <relativePath/>
   </parent>
 
index c5bbc1478254ed5f6b0ef3d4201e2007fec60fcc..c86334705aa449289219319062524129cc8a2dc6 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>karaf4-parent</artifactId>
-    <version>5.0.2</version>
+    <version>6.0.0</version>
   </parent>
   <groupId>org.opendaylight.openflowplugin</groupId>
   <artifactId>openflowplugin-karaf</artifactId>
index 16a09b6e59f759fa115418939839ba1ca0f4f0a9..a6ee5e5cb28da8f18d9e54ca7c097cb21c976032 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>feature-repo-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index e086f645e7b84383889e9c932880fc7166d76bca..bdf500c09235fd81e7210a0e3ac14334d467759b 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 944c5a494be08a21881a1c4ca79472296d16a6bb..3f8534f43647a8ce0859032e6911b13514b01bc3 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index a4b67fa76d21b8c3e3e742c51c9bd9bee0b87698..779be77e19d32b76763bffb1d9abfe5fef26f2e5 100644 (file)
@@ -3,7 +3,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>odlparent-lite</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
     <modelVersion>4.0.0</modelVersion>
index fc665c7ff0ceb6f9a1b69fd3f42c513312d026cc..73676354975cc16d63cfd155fd8541ba396bcef8 100644 (file)
@@ -30,6 +30,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
         <dependency>
index b7a34a43be3ea5ec733988bb98430fd5e7f4e49e..f847e098cc72e03fd46e53398b0b2386e3fc207c 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>feature-repo-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 87cdcd32c6ad304f3a1d510035a3385ee550e105..02be2cd9072e74658467da980f2709a4ecacf8f5 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 61a4e13619d17ca546f97add0af9397a71ccf00e..169dbdeb68a24a082ab138e567ca2b6506565334 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 389f9faea24f0a50f29d93eec815feada1241022..eb6c20dafed4049c511e089dc99f01813d55fa6b 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index b0f5416d56225a5f04f12253e1918361a3343359..c28bdccd179850ee02e1bbad035bffe48b020ec7 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 38c616eaf6e8fc163a92c3274b8d27332d32d857..75586c3b0ac6eae8020659beb87fcc6fa8cb79e9 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index bdfe35aa33a6d91a8e0d75047ace8ba80ba6cb34..afe1acf250050b53eb269fbf6322aa8ef4070ff9 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 69f96bd1334afccb91f6f4d082ad4621a9a20a33..ab7c028f8e23341d142bee552a6179f24a7d52bc 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 31807c6dd437ae9d6a0bbcf49acc494f58e9a5ff..5527d3d1e480045e4c885f807b02d8471da1c110 100644 (file)
@@ -4,7 +4,7 @@
 <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>single-feature-parent</artifactId>
-    <version>5.0.2</version>
+    <version>6.0.0</version>
     <relativePath/>
 </parent>
 
index f6600eca0100c3a78ee8ca804c58793a3b743906..023898558a432d058002a05d6ce302dcdf66671b 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 91dd7ad46a6e048ac88a9a9a25f50765ee0ed7d4..1b1a7b2a1cb246052e5506dd129b5596b31b1ccb 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 83a461952658759f794d36f74acfc4df8e810a54..09bc5b5ed1d72cef70b20bec41741fa851b8b516 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 347dbc76268c3d31615ccab1d88a4a30f7717ea9..6acfaaf65021fde05c8967685237131db08f69f2 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 187ccc77d61ba1a3c768990bd51715dbb0146f92..16674b5b20e6a44dd3a9d068a2a8c2d15d76aef5 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 4b2bb0bf1ab2779177073b5c3389442cb38a959d..6e84bc8d72ac557a08caf789620e500d74fb9da2 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index bbb2a2290270519239dbda2b9547f374a80d8a4e..519711605909e73820733e2bd46a03bdb752428f 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 8fc3d9914f49c61d0237a4d17b60aedc40b8f4c6..26f25038cb6c9e46d9ef81c03a6a935456df0c51 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 131e366edf7821a4af9035baba76ae8680779049..2b2c92c8614ea3f346c1e3e988824d5b9b5398ce 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index b07a76fda08dd9f3c593aa72623f3b9db27fa46b..be208d6d9094e5d6db2584910aaaa403e44ecf32 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-openflowplugin-libraries">
     <feature name="odl-openflowplugin-libraries">
-        <feature version="[5,6)">odl-guava</feature>
+        <feature version="[6,7)">odl-guava</feature>
     </feature>
 </features>
index 4a2424fa97cf915847b4fc07a90781c6a7c6ffba..40b1861ac01a4521a39c606ed448e6c9bc9b3c84 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index b3b3ea73b43e3deb6abaefb780d25bc9756e111e..5e1cb5f7171d921b29c3b106ec2f8f4cb68ce81f 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index a9d4848a239f5d3262bd592346cffba6e9feecb2..55b18121818ab785de519ac749ee2004f731445d 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>odlparent-lite</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 6ac436c23b019f093dbb4a8994ef825581a2a621..e1cd411f839a03686eea1faea76c0f4a87e133c4 100644 (file)
@@ -42,6 +42,7 @@
     <dependency>
       <groupId>com.google.code.findbugs</groupId>
       <artifactId>jsr305</artifactId>
+      <version>3.0.2</version>
       <optional>true</optional>
     </dependency>
   </dependencies>
index 3081d30df77b86670c6787bdfa6bdbdd524d1a12..30074d8065ce31fc3898dfb112a1fd483bb65ff6 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>feature-repo-parent</artifactId>
-    <version>5.0.2</version>
+    <version>6.0.0</version>
     <relativePath/>
   </parent>
 
index 80e0ebf115b76b1a2f635c5319afd7a99d484f78..a549d9435f5e9461a62c706196ba7cfbf7ef15ee 100644 (file)
@@ -5,7 +5,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>5.0.2</version>
+        <version>6.0.0</version>
         <relativePath/>
     </parent>
 
index 557ec0822eebca5b4387989c25e155e049cdaa2a..9e753e7cbfb1538b180a0f3230e0a43ece8f5b66 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent-lite</artifactId>
-    <version>5.0.2</version>
+    <version>6.0.0</version>
     <relativePath/>
   </parent>
 
index 1995d96e016f6896fe7a4a9a59ba28bb52bb5047..fc6f26653d3829b1e3c40324581fc97bb563fc37 100644 (file)
@@ -54,6 +54,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
     </dependencies>
index 3b4a77ba08e569ce43870f66cc7245ff9753fc7b..8cf2d0a0887420a9fc777dff27c87199e9a5123c 100644 (file)
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
     </dependencies>
index 63357e1d678c3ab45b71b36586e0bedb8c527091..c84cafebfb3710cdc84bd8ce34cd6df3e25bbf82 100644 (file)
@@ -40,17 +40,6 @@ public class SwitchConnectionProviderFactoryImpl implements SwitchConnectionProv
                 openflowPluginDiagStatusProvider);
     }
 
-    private static InetAddress getInetAddress(final IpAddress address) throws UnknownHostException {
-        if (address != null) {
-            if (address.getIpv4Address() != null) {
-                return InetAddress.getByName(address.getIpv4Address().getValue());
-            } else if (address.getIpv6Address() != null) {
-                return InetAddress.getByName(address.getIpv6Address().getValue());
-            }
-        }
-        return null;
-    }
-
     private static class ConnectionConfigurationImpl implements ConnectionConfiguration {
         private final SwitchConnectionConfig config;
         private InetAddress address;
@@ -186,5 +175,16 @@ public class SwitchConnectionProviderFactoryImpl implements SwitchConnectionProv
         public boolean isGroupAddModEnabled() {
             return config.isGroupAddModEnabled();
         }
+
+        private static InetAddress getInetAddress(final IpAddress address) throws UnknownHostException {
+            if (address != null) {
+                if (address.getIpv4Address() != null) {
+                    return InetAddress.getByName(address.getIpv4Address().getValue());
+                } else if (address.getIpv6Address() != null) {
+                    return InetAddress.getByName(address.getIpv6Address().getValue());
+                }
+            }
+            return null;
+        }
     }
 }
index 0b70c2fcddfae5f80befdfcb15408a8bf9bfb1df..06a8494c916530831745b3dd5a0b0ac1033f2501 100644 (file)
@@ -58,6 +58,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
     </dependencies>
index f17517fb4fee17ea347b8a1e141bcc49a9aebb28..7e1e56b112fd6ddb7817a8750455e05d7cbe3d04 100644 (file)
@@ -29,6 +29,7 @@
     <dependency>
         <groupId>com.google.code.findbugs</groupId>
         <artifactId>jsr305</artifactId>
+        <version>3.0.2</version>
         <optional>true</optional>
     </dependency>
 
index ba7853819da0e399bf6d27f18f8dcfaf810f3802..11b5e175f74b5159a778bc8bc97a28a940451570 100644 (file)
@@ -96,6 +96,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
         <dependency>
index 2486923e8dbc19b330d274514bd951d48e564f3e..502b84e8ea4bf030c6ae16c08e63689b3a1d8291 100644 (file)
@@ -12,6 +12,7 @@ import com.google.common.util.concurrent.FutureCallback;
 import com.google.common.util.concurrent.Futures;
 import com.google.common.util.concurrent.ListenableFuture;
 import com.google.common.util.concurrent.MoreExecutors;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
@@ -131,6 +132,8 @@ public class OF10DeviceInitializer extends AbstractDeviceInitializer {
     }
 
     @SuppressWarnings("checkstyle:IllegalCatch")
+    @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD",
+            justification = "https://github.com/spotbugs/spotbugs/issues/811")
     private static void makeEmptyFlowCapableNode(final TxFacade txFacade, final DeviceInfo deviceInfo) {
         try {
             txFacade.writeToTransaction(LogicalDatastoreType.OPERATIONAL,
index 4cf8d21960f69c3dfe50c938d2630ea704df4be6..b271b019bc916c9b08975ee217cac034e9d60257 100644 (file)
@@ -70,6 +70,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
 
index 63ed6c5fb0b1f9941914b2cb7d8c622347aae785..747ae7e07ba6c2dbd7f6d4b9f65e5cfc4f84c4a0 100644 (file)
@@ -29,6 +29,7 @@
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
+            <version>3.0.2</version>
             <optional>true</optional>
         </dependency>
         <dependency>