ConcurrentModificationException umgangen.

This commit is contained in:
Michael Uhl 2019-05-05 22:33:16 +02:00
parent e48f2b2fd5
commit 4b8b0ec362

View File

@ -181,9 +181,11 @@ public class BytecodeGen implements ASTVisitor {
// resultSet = listOfResultSets.get(0);
boolean isConsWithNoParamsVisited = false;
boolean isVisited = false;
for (ResultSet rs : listOfResultSets) {
List<ResultSet> listOfResultSetsList = new ArrayList<>(listOfResultSets);
for (int i = 0; i < listOfResultSetsList.size(); i++) {
//for (ResultSet rs : listOfResultSets) {
superClass = classOrInterface.getSuperClass().acceptTV(new TypeToDescriptor());
resultSet = rs;
resultSet = listOfResultSetsList.get(i);
tphExtractor.setResultSet(resultSet);
// Nur einmal ausführen!!