Sonar fixes

Rule: Use isEmpty() to check whether the collection is empty or not.

Change-Id: Ib5ab56b2263623b297db56c5cac2c2ee80e12725
diff --git a/utils/misc/src/main/java/org/onlab/graph/SuurballeGraphSearch.java b/utils/misc/src/main/java/org/onlab/graph/SuurballeGraphSearch.java
index f3d0e62..f517d5a 100644
--- a/utils/misc/src/main/java/org/onlab/graph/SuurballeGraphSearch.java
+++ b/utils/misc/src/main/java/org/onlab/graph/SuurballeGraphSearch.java
@@ -56,7 +56,7 @@
 
         //choose an arbitrary shortest path to run Suurballe on
         Path<V, E> shortPath = null;
-        if (firstDijkstraS.paths().size() == 0) {
+        if (firstDijkstraS.paths().isEmpty()) {
             return firstDijkstraS;
         }
 
@@ -88,7 +88,7 @@
                     .search(gt, src, dst, modified, ALL_PATHS);
 
             Path<V, E> residualShortPath = null;
-            if (secondDijkstra.paths().size() == 0) {
+            if (secondDijkstra.paths().isEmpty()) {
                 result.dpps.add(new DisjointPathPair<>(shortPath, null));
                 continue;
             }