diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-25 18:32:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 18:32:57 +0200 |
commit | 249fe76c9437d0f1a033294df98d8d8101baef2c (patch) | |
tree | 95c11718559291fc36d7f6a3ac5e58c435fec508 /document/src/main/java/com/yahoo/vespaxmlparser | |
parent | a21f0b780458f792dc7e30c134d917fa60d72d02 (diff) | |
parent | e4ee020164e6cb98f8706bae6b7f284ccee03ae3 (diff) |
Merge pull request #9187 from vespa-engine/balder/add-binary-option
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.java | 4 |
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() { |