Update DocMapTest.java

This commit is contained in:
igarash1 2018-06-13 00:42:58 +09:00 committed by GitHub
parent 6b42e1b61e
commit 2839c40822
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,14 +36,8 @@ public class DocMapTest extends UnitFessTestCase {
value.put(keys[2], "ja");
value.put(keys[3], "str");
docMap = new DocMap(value);
Set<Map.Entry<String, Object>> actual = docMap.entrySet();
Iterator<Map.Entry<String, Object>> iterator = actual.iterator();
int i = 0;
for (Map.Entry<String, Object> entry : actual) {
i++;
}
assertTrue(docMap.isEmpty());
docMap.clear();
}
}
}