aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/main/java/com/yahoo/vespaxmlparser
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-04-25 15:06:55 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2019-04-25 15:06:55 +0200
commit77f8522cf3a0a8a62fd3971455042815380b7fc7 (patch)
tree0a9dc0c0074949bf96b4cf0b7a1084073e716095 /document/src/main/java/com/yahoo/vespaxmlparser
parenta8949c869c613d671886b87ab684b2dfef9d9ca5 (diff)
Add a binary format too.
Diffstat (limited to 'document/src/main/java/com/yahoo/vespaxmlparser')
-rw-r--r--document/src/main/java/com/yahoo/vespaxmlparser/VespaXMLFeedReader.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/document/src/main/java/com/yahoo/vespaxmlparser/VespaXMLFeedReader.java b/document/src/main/java/com/yahoo/vespaxmlparser/VespaXMLFeedReader.java
index e0213b4c88d..14f4fd9484c 100644
--- a/document/src/main/java/com/yahoo/vespaxmlparser/VespaXMLFeedReader.java
+++ b/document/src/main/java/com/yahoo/vespaxmlparser/VespaXMLFeedReader.java
@@ -93,7 +93,7 @@ public class VespaXMLFeedReader extends VespaXMLReader implements FeedReader {
private Document doc;
private DocumentId remove;
private DocumentUpdate docUpdate;
- private TestAndSetCondition condition;
+ private TestAndSetCondition condition = TestAndSetCondition.NOT_PRESENT_CONDITION;
public Operation() {
setInvalid();
@@ -104,7 +104,7 @@ public class VespaXMLFeedReader extends VespaXMLReader implements FeedReader {
doc = null;
remove = null;
docUpdate = null;
- condition = null;
+ condition = TestAndSetCondition.NOT_PRESENT_CONDITION;
}
public OperationType getType() {