diff options
Diffstat (limited to 'document')
-rw-r--r-- | document/src/main/java/com/yahoo/document/select/rule/DocumentNode.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/document/src/main/java/com/yahoo/document/select/rule/DocumentNode.java b/document/src/main/java/com/yahoo/document/select/rule/DocumentNode.java index 549d38958e6..c0907693dab 100644 --- a/document/src/main/java/com/yahoo/document/select/rule/DocumentNode.java +++ b/document/src/main/java/com/yahoo/document/select/rule/DocumentNode.java @@ -47,8 +47,8 @@ public class DocumentNode implements ExpressionNode { DocumentRemove removeOp = (DocumentRemove)op; return (removeOp.getId().getDocType().equals(type) ? op : Boolean.FALSE); } else if (op instanceof DocumentGet) { - DocumentGet removeOp = (DocumentGet)op; - return (removeOp.getId().getDocType().equals(type) ? op : Boolean.FALSE); + DocumentGet getOp = (DocumentGet)op; + return (getOp.getId().getDocType().equals(type) ? op : Boolean.FALSE); } else { throw new IllegalStateException("Document class '" + op.getClass().getName() + "' is not supported."); } |