Instance-level SearchControls

TestLdap does not need SearchControls to be static. Changing it
to be instance-level removes potential collisions.

Issue gh-465
This commit is contained in:
Josh Cummings
2022-02-01 13:25:30 -07:00
parent aead910d64
commit 0f56a72e9f

View File

@@ -84,7 +84,7 @@ public final class TestLdap {
// Maximum time to wait for results in testing (ms)
private static final int TIME_LIMIT=60000;
private static SearchControls searchControls=
private SearchControls searchControls =
new SearchControls(SearchControls.SUBTREE_SCOPE,
COUNT_LIMIT,
TIME_LIMIT,