1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 22:35:43 +02:00

bug 300016: JUnit failure: wrong benchmark for ManagedBuildCoreTests20.testProjectUpdate20_Update

This commit is contained in:
Andrew Gvozdev 2010-01-19 15:17:24 +00:00
parent 6b08d237f0
commit ba952b0604

View file

@ -392,11 +392,13 @@ class UpdateManagedProject20 {
for(int i = 0; i < options.length; i++){
IOption curOption = options[i];
IOption parent = curOption.getSuperClass();
//String curOptionId = curOption.getId();
if(parent == null)
continue;
for (;parent.getSuperClass()!=null;parent = parent.getSuperClass()) {
// empty body, the loop is to find superclass
}
String parentId = parent.getId();
if(!parentId.equals(optId))
continue;