clean some compilation warnings
[transportpce.git] / tests / stubpce / src / main / java / org / opendaylight / transportpce / stubpce / topology / SuperNodePath.java
index 5c8e66ab3e579d3b209d1c1e643be9714b48be0b..55bfa81af55af69978635006091434e181bc9185 100644 (file)
@@ -567,13 +567,14 @@ public class SuperNodePath {
      * @param paths NodeLinkNode list paths
      * @return PathDescriptionsOrdered List of direct paths
      */
-    public SortedSet<PathDescriptionsOrdered> getDirectPathDesc(String aend, String zend,List<NodeLinkNode> paths) {
+    public SortedSet<PathDescriptionsOrdered> getDirectPathDesc(String aend, String zend,
+            List<NodeLinkNode> nodeLinkNodes) {
         List<AToZDirection> atozdirectionPaths = new ArrayList<AToZDirection>();
         SortedSet<PathDescriptionsOrdered> result = new TreeSet<PathDescriptionsOrdered>();
         SuperNode aendSp = getSuperNode(aend);
         SuperNode zendSp = getSuperNode(zend);
-        if (!paths.isEmpty()) {
-            for (NodeLinkNode tmp : paths) {
+        if (!nodeLinkNodes.isEmpty()) {
+            for (NodeLinkNode tmp : nodeLinkNodes) {
                 if (tmp.getDirect()) {
                     LOG.info("Direct NodeLinkNode : {}", tmp.toString());
                     String atozLink = null;
@@ -630,13 +631,14 @@ public class SuperNodePath {
      * @param paths NodeLinkNode list paths
      * @return PathDescriptionsOrdered List of indirect paths
      */
-    public SortedSet<PathDescriptionsOrdered> getIndirectPathDesc(String aend, String zend,List<NodeLinkNode> paths) {
+    public SortedSet<PathDescriptionsOrdered> getIndirectPathDesc(String aend, String zend,
+            List<NodeLinkNode> nodeLinkNodes) {
         List<AToZDirection> atozdirectionPaths = new ArrayList<AToZDirection>();
         SortedSet<PathDescriptionsOrdered> result = new TreeSet<PathDescriptionsOrdered>();
         SuperNode aendSp = getSuperNode(aend);
         SuperNode zendSp = getSuperNode(zend);
-        if (!paths.isEmpty()) {
-            for (NodeLinkNode tmp : paths) {
+        if (!nodeLinkNodes.isEmpty()) {
+            for (NodeLinkNode tmp : nodeLinkNodes) {
                 if (!tmp.getDirect()) {
                     LOG.info("Indirect NodeLinkNode : {}", tmp.toString());
                     int size = tmp.getAtozLink().size();