diff options
author | Tor Egge <Tor.Egge@oath.com> | 2018-11-01 14:25:04 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2018-11-01 14:25:04 +0000 |
commit | 21b7cb7b0685ec04cfdb03e7f3793d1ca6dbe190 (patch) | |
tree | 8b3965bd9e98f9097c9501efaf6799335918437d /document | |
parent | a561a101ecd0373ab6a8df6cd801dba195b86eaa (diff) |
Fixup local variable name.
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."); } |