[Minor] Automated Code cleanup: Mismatched query and update of collection

This commit is contained in:
Robert von Burg 2023-04-04 14:44:33 +02:00
parent d39b9eea33
commit 4160837ab6
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,7 @@
package li.strolch.soql.core;
import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
@ -26,7 +28,7 @@ public class DataStructureTest extends BaseTest {
public void buildProduct() {
// it's ugly indexing stuff, so here we go
final Object[] keys = structure.keySet().toArray(); // the nicknames of the entities
final String[] keys = structure.keySet().toArray(new String[0]); // the nicknames of the entities
final int numberOfKeys = keys.length;
// get an overview of how many elements we have to take into account
@ -53,6 +55,7 @@ public class DataStructureTest extends BaseTest {
row.add(element);
}
}
}
assertEquals(72, cartesianProduct.size());
}
}