Skip to content

Commit b85694c

Browse files
committed
address a minor warning; not an actual problem
1 parent 132c7bb commit b85694c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,8 +1031,7 @@ public static String assertJQ(SolrQueryRequest req, double delta, String... test
10311031
}
10321032
return response;
10331033
} finally {
1034-
// restore the params
1035-
if (params != null && params != req.getParams()) req.setParams(params);
1034+
req.setParams(params); // restore in case we changed it
10361035
}
10371036
}
10381037

0 commit comments

Comments
 (0)