summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorfreva <valerijf@yahoo-inc.com>2017-02-15 12:30:54 +0100
committerfreva <valerijf@yahoo-inc.com>2017-02-15 12:30:54 +0100
commit795d0dee12a64a071cf9bbe2b74f20f177b7e3cd (patch)
treebe9731d070657d520cce1e78c1d0b534be16126e /document
parent44135dc69675b35f54ef4aff83a404654baa446a (diff)
Remove outdated comment
Diffstat (limited to 'document')
-rw-r--r--document/src/test/java/com/yahoo/document/json/JsonWriterTestCase.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/document/src/test/java/com/yahoo/document/json/JsonWriterTestCase.java b/document/src/test/java/com/yahoo/document/json/JsonWriterTestCase.java
index f71528d8b24..5949e079131 100644
--- a/document/src/test/java/com/yahoo/document/json/JsonWriterTestCase.java
+++ b/document/src/test/java/com/yahoo/document/json/JsonWriterTestCase.java
@@ -223,8 +223,6 @@ public class JsonWriterTestCase {
String fields = "{ \"actualmap\": { \"nalle\": \"kalle\", \"tralle\": \"skalle\" }}";
String docId = "id:unittest:testmap::whee";
Document doc = readDocumentFromJson(docId, fields);
- // we have to do everything by hand to check, as maps are unordered, but
- // are serialized as an ordered structure
ObjectMapper m = new ObjectMapper();
Map<?, ?> generated = m.readValue(JsonWriter.toByteArray(doc), Map.class);
@@ -259,8 +257,6 @@ public class JsonWriterTestCase {
String docId = "id:unittest:testMapStringToArrayOfInt::whee";
String fields = "{ \"actualMapStringToArrayOfInt\": { \"bamse\": [1, 2, 3] }}";
Document doc = readDocumentFromJson(docId, fields);
- // we have to do everything by hand to check, as maps are unordered, but
- // are serialized as an ordered structure
ObjectMapper m = new ObjectMapper();
Map<?, ?> generated = m.readValue(JsonWriter.toByteArray(doc), Map.class);