Skip to content

Commit 5de2694

Browse files
committed
Instance-level SearchControls
TestLdap does not need SearchControls to be static. Changing it to be instance-level removes potential collisions. Issue gh-465
1 parent 39ceed8 commit 5de2694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: odm/src/test/java/org/springframework/ldap/odm/test/TestLdap.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public final class TestLdap {
8484
// Maximum time to wait for results in testing (ms)
8585
private static final int TIME_LIMIT=60000;
8686

87-
private static SearchControls searchControls=
87+
private SearchControls searchControls =
8888
new SearchControls(SearchControls.SUBTREE_SCOPE,
8989
COUNT_LIMIT,
9090
TIME_LIMIT,

0 commit comments

Comments
 (0)