renatoh commented on code in PR #3048:
URL: https://github.com/apache/solr/pull/3048#discussion_r1922882654
##########
solr/solrj/src/test/org/apache/solr/common/util/SimpleOrderedMapTest.java:
##########
@@ -0,0 +1,125 @@
+package org.apache.solr.common.util;
+
+import java.util.Collection;
+import java.util.Map;
+import java.util.Set;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class SimpleOrderedMapTest extends Assert {
+
+ private final SimpleOrderedMap<Integer> map = new SimpleOrderedMap<>();
Review Comment:
JUnit calls every single test-method with a fresh instance of the test
class, there is no need for a lifecycle with a clear.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]