File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
oak-core/src/test/java/org/apache/jackrabbit/oak/security/user Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1919import java .lang .reflect .Field ;
2020import java .util .Collections ;
2121import java .util .List ;
22+ import java .util .ListIterator ;
2223import java .util .Map ;
2324
2425import javax .jcr .RepositoryException ;
@@ -263,8 +264,8 @@ public void testConfigurationChange() throws Exception {
263264
264265 // only the configured max-size number of entries in the history must be
265266 // checked. additional entries in the history must be ignored
266- Iterables . skip ( oldPwds , 6 );
267- history .updatePasswordHistory (userTree , oldPwds . iterator () .next ());
267+ ListIterator < String > listIterator = oldPwds . listIterator ( 6 );
268+ history .updatePasswordHistory (userTree , listIterator .next ());
268269
269270 // after chaning the pwd again however the rep:pwdHistory property must
270271 // only contain the max-size number of passwords
You can’t perform that action at this time.
0 commit comments