Permalink
Browse files

Fix bug in OrientGraph.getVertices #348

  • Loading branch information...
1 parent 277cb18 commit 895e654c3f330240b4ae9ee8a6b1d9d09595ca76 @spmallette spmallette committed Feb 7, 2013
@@ -239,7 +239,7 @@ public void removeVertex(final Vertex vertex) {
if (value != null && !(value instanceof String))
value = value.toString();
- Object indexValue = (Iterable<?>) idx.get(value);
+ Object indexValue = idx.get(value);
if( indexValue != null && !( indexValue instanceof Iterable<?> ) )
indexValue = Arrays.asList(indexValue);

0 comments on commit 895e654

Please sign in to comment.