1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

minor code optimization

This commit is contained in:
John Cortell 2009-09-24 00:19:58 +00:00
parent 18ce68fb9b
commit 9ab6b2b9f1

View file

@ -101,8 +101,8 @@ public class PropertiesBasedLabelProvider
for (int i = 0; i < labelUpdates.length; i++) {
final ILabelUpdate labelUpdate = labelUpdates[i];
propertiesUpdates[i] = new VMPropertiesUpdate(
propertyNames, labelUpdates[i],
new ViewerDataRequestMonitor<Map<String, Object>>(ImmediateExecutor.getInstance(), labelUpdates[i]) {
propertyNames, labelUpdate,
new ViewerDataRequestMonitor<Map<String, Object>>(ImmediateExecutor.getInstance(), labelUpdate) {
@Override
protected void handleCompleted() {
updateLabel(labelUpdate, getStatus(), getData());