String[] objectClasses = next.extractObjectClasses();
if (objectClasses != null) {
if (classNames == null) {
classNames = new ArrayList();
}
<BUG>for (int i = 0; i < objectClasses.length; i++) {
classNames.add(objectClasses[i]);
}</BUG>
}
}

String[] objectClasses = next.extractObjectClasses();
if (objectClasses != null) {
if (classNames == null) {
classNames = new ArrayList();
}
for (String objectClass : objectClasses) {
classNames.add(objectClass);
}
}
}
