summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/graph/traversal/GraphTraversal.java
diff options
context:
space:
mode:
Diffstat (limited to 'source/com/c2kernel/graph/traversal/GraphTraversal.java')
-rw-r--r--[-rwxr-xr-x]source/com/c2kernel/graph/traversal/GraphTraversal.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/com/c2kernel/graph/traversal/GraphTraversal.java b/source/com/c2kernel/graph/traversal/GraphTraversal.java
index abf30f7..b50030d 100755..100644
--- a/source/com/c2kernel/graph/traversal/GraphTraversal.java
+++ b/source/com/c2kernel/graph/traversal/GraphTraversal.java
@@ -20,7 +20,7 @@ public class GraphTraversal
public static Vertex[] getTraversal(GraphModel graphModel, Vertex startVertex, int direction, boolean ignoreBackLinks)
{
- Vector path = new Vector(10, 10);
+ Vector<Vertex> path = new Vector<Vertex>(10, 10);
graphModel.clearTags(startVertex);
visitVertex(startVertex, graphModel, path, direction, startVertex, ignoreBackLinks);
@@ -29,7 +29,7 @@ public class GraphTraversal
}
- private static void visitVertex(Vertex vertex, GraphModel graphModel, Vector path, int direction, Object tag, boolean ignoreBackLinks)
+ private static void visitVertex(Vertex vertex, GraphModel graphModel, Vector<Vertex> path, int direction, Object tag, boolean ignoreBackLinks)
{
Vertex[] children = null;
int i = 0;