Description
Hi!
In the method SolrTestCaseJ4.compareSolrDocument
SolrTestCaseJ4.java
if(solrDocument1.getFieldNames().size() != solrDocument1.getFieldNames().size()) { return false; }
"solrDocument1.getFieldNames().size()" compare with itself
Probably, is should be:
SolrTestCaseJ4.java
if(solrDocument1.getFieldNames().size() != solrDocument2.getFieldNames().size()) { return false; }
This possible defect found by static code analyzer AppChecker