mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
minor code optimization
This commit is contained in:
parent
18ce68fb9b
commit
9ab6b2b9f1
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ public class PropertiesBasedLabelProvider
|
||||||
for (int i = 0; i < labelUpdates.length; i++) {
|
for (int i = 0; i < labelUpdates.length; i++) {
|
||||||
final ILabelUpdate labelUpdate = labelUpdates[i];
|
final ILabelUpdate labelUpdate = labelUpdates[i];
|
||||||
propertiesUpdates[i] = new VMPropertiesUpdate(
|
propertiesUpdates[i] = new VMPropertiesUpdate(
|
||||||
propertyNames, labelUpdates[i],
|
propertyNames, labelUpdate,
|
||||||
new ViewerDataRequestMonitor<Map<String, Object>>(ImmediateExecutor.getInstance(), labelUpdates[i]) {
|
new ViewerDataRequestMonitor<Map<String, Object>>(ImmediateExecutor.getInstance(), labelUpdate) {
|
||||||
@Override
|
@Override
|
||||||
protected void handleCompleted() {
|
protected void handleCompleted() {
|
||||||
updateLabel(labelUpdate, getStatus(), getData());
|
updateLabel(labelUpdate, getStatus(), getData());
|
||||||
|
|
Loading…
Add table
Reference in a new issue