Fixed typo and remove unecessary java.lang import 21/1021/1
authorAlissa Bonas <abonas@redhat.com>
Tue, 27 Aug 2013 10:29:45 +0000 (13:29 +0300)
committerAlissa Bonas <abonas@redhat.com>
Tue, 27 Aug 2013 10:29:45 +0000 (13:29 +0300)
Fixed typo in comment and remove unecessary java.lang import
(as proposed by Sonar report)

Change-Id: I4362cd4e25965c9a5c9322a5a25e189241599c18
Signed-off-by: Alissa Bonas <abonas@redhat.com>
opendaylight/routing/dijkstra_implementation/src/main/java/org/opendaylight/controller/routing/dijkstra_implementation/internal/DijkstraImplementation.java

index a8ef381528d5a9fc8f839e40427e4e7f9e9d27de..07f18ff6abfaefb616371fe99d787b95e997f813 100644 (file)
@@ -37,8 +37,6 @@ import edu.uci.ics.jung.graph.Graph;
 import edu.uci.ics.jung.graph.SparseMultigraph;
 import edu.uci.ics.jung.graph.util.EdgeType;
 
-import java.lang.Exception;
-import java.lang.IllegalArgumentException;
 import java.util.HashSet;
 import java.util.Iterator;
 import java.util.List;
@@ -234,7 +232,7 @@ public class DijkstraImplementation implements IRouting, ITopologyManagerCluster
     @Override
     public synchronized void clearMaxThroughput() {
         if (mtp != null) {
-            mtp.reset(); // reset maxthruput path
+            mtp.reset(); // reset max throughput path
         }
     }