Skip to content
This repository
Browse code

Fixed failing test for RexsterGraph given Query changes.

Fixing this forced a change in Rexster as support of NULL on the query string was not allowed.
  • Loading branch information...
commit f2d386bf4024e9dd78b82c828f9e0e5989d90dec 1 parent 8762d9d
stephen mallette spmallette authored
2  blueprints-rexster-graph/src/main/java/com/tinkerpop/blueprints/impls/rexster/RestHelper.java
@@ -84,6 +84,8 @@ else if (type.equals(RexsterTokens.FLOAT))
84 84 }
85 85
86 86 static String uriCast(final Object value) {
  87 + if (value == null)
  88 + return "(null,\"\")";
87 89 if (value instanceof String)
88 90 return "(" + RexsterTokens.STRING + "," + value.toString() + ")";
89 91 else if (value instanceof Integer)

0 comments on commit f2d386b

Please sign in to comment.
Something went wrong with that request. Please try again.