Permalink
Browse files

Avoid spurious warning messages in logs

  • Loading branch information...
1 parent 0ad82dd commit bef4e867ddba881c93a8e435e9185f74c0ca4b1e Martin Kleppmann committed Jun 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/com/eptcomputing/neo4j/rest/NeoJsonConverter.scala
@@ -81,7 +81,7 @@ object NeoJsonConverter {
for (rel <- node.getRelationships) deleteRel += rel.getId
// Process special properties
- for (key <- specialProps) try {
+ for (key <- specialProps filter { key => json.has(key) }) try {
key match {
case "_id" =>
if (json.getLong(key) != node.getId)

0 comments on commit bef4e86

Please sign in to comment.