Skip to content

Commit

Permalink
Fixed compatibility problem with last BP 2.5.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
lvca committed Sep 3, 2013
1 parent 5358e8c commit 040b7d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected Float getMinimumDistance() {
}

protected Float getDistance(final Vertex node, final Vertex target) {
final Iterator<Edge> edges = ((OrientVertex) node).getEdges(target, paramDirection).iterator();
final Iterator<Edge> edges = ((OrientVertex) node).getEdges((OrientVertex) target, paramDirection).iterator();
if (edges.hasNext()) {
final Edge e = edges.next();
if (e != null) {
Expand Down

0 comments on commit 040b7d0

Please sign in to comment.