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