mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixed "Unnecessary semicolon" compile warning
Change-Id: I6dc9bad163750f00be7046ebb9c18ae447ab9455 Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
This commit is contained in:
parent
5188547f31
commit
38e970a45d
4 changed files with 5 additions and 5 deletions
|
@ -83,7 +83,7 @@ public class AsyncSumDataGenerator implements IDataGenerator {
|
||||||
int maxCount = counts[counts.length - 1];
|
int maxCount = counts[counts.length - 1];
|
||||||
rm.setData(maxCount);
|
rm.setData(maxCount);
|
||||||
rm.done();
|
rm.done();
|
||||||
};
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Each call to data generator fills in one value in array.
|
// Each call to data generator fills in one value in array.
|
||||||
|
@ -131,7 +131,7 @@ public class AsyncSumDataGenerator implements IDataGenerator {
|
||||||
}
|
}
|
||||||
rm.setData(sum);
|
rm.setData(sum);
|
||||||
rm.done();
|
rm.done();
|
||||||
};
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Each call to data generator fills in one value in array.
|
// Each call to data generator fills in one value in array.
|
||||||
|
|
|
@ -219,7 +219,7 @@ public class AsyncSumDataViewer implements ILazyContentProvider {
|
||||||
}
|
}
|
||||||
setValueToViewer(fIndex, result.toString());
|
setValueToViewer(fIndex, result.toString());
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Request data from each data generator.
|
// Request data from each data generator.
|
||||||
|
|
|
@ -73,7 +73,7 @@ public class DataGeneratorCacheManager implements IDataGenerator.Listener {
|
||||||
@Override
|
@Override
|
||||||
protected void retrieve(org.eclipse.cdt.dsf.concurrent.DataRequestMonitor<Integer> rm) {
|
protected void retrieve(org.eclipse.cdt.dsf.concurrent.DataRequestMonitor<Integer> rm) {
|
||||||
fDataGenerator.getValue(fIndex, rm);
|
fDataGenerator.getValue(fIndex, rm);
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see CountCache#countChanged()
|
* @see CountCache#countChanged()
|
||||||
|
|
|
@ -100,7 +100,7 @@ public class SyncDataViewer implements IStructuredContentProvider, IDataGenerato
|
||||||
protected void handleSuccess() {
|
protected void handleSuccess() {
|
||||||
rm.setData(Arrays.asList(retVal));
|
rm.setData(Arrays.asList(retVal));
|
||||||
rm.done();
|
rm.done();
|
||||||
};
|
}
|
||||||
};
|
};
|
||||||
for (int i = 0; i < finalCount; i++) {
|
for (int i = 0; i < finalCount; i++) {
|
||||||
final int finalI = i;
|
final int finalI = i;
|
||||||
|
|
Loading…
Add table
Reference in a new issue