mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 09:16:02 +02:00
Cosmetics
Change-Id: Iedb9b74df9eab3c39f38ebe924549ee297262752
This commit is contained in:
parent
c819ee49f4
commit
041a00ea28
1 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ public class FormattedValueRetriever {
|
||||||
@ConfinedToDsfExecutor("node.getExecutor()")
|
@ConfinedToDsfExecutor("node.getExecutor()")
|
||||||
public void update(final IPropertiesUpdate updates[], final RequestMonitor rm)
|
public void update(final IPropertiesUpdate updates[], final RequestMonitor rm)
|
||||||
{
|
{
|
||||||
retreiveElementActiveFormat(updates, new DataRequestMonitor<Map<IPropertiesUpdate, String>>(ImmediateExecutor.getInstance(), rm) {
|
retrieveElementActiveFormat(updates, new DataRequestMonitor<Map<IPropertiesUpdate, String>>(ImmediateExecutor.getInstance(), rm) {
|
||||||
@Override
|
@Override
|
||||||
protected void handleCompleted() {
|
protected void handleCompleted() {
|
||||||
final Map<IPropertiesUpdate, String> elementFormatMap = getData();
|
final Map<IPropertiesUpdate, String> elementFormatMap = getData();
|
||||||
|
@ -205,7 +205,7 @@ public class FormattedValueRetriever {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void retreiveElementActiveFormat(final IPropertiesUpdate updates[], final DataRequestMonitor<Map<IPropertiesUpdate, String>> rm) {
|
private void retrieveElementActiveFormat(final IPropertiesUpdate updates[], final DataRequestMonitor<Map<IPropertiesUpdate, String>> rm) {
|
||||||
if (fElementFormatProvider == null) {
|
if (fElementFormatProvider == null) {
|
||||||
rm.setData(new HashMap<IPropertiesUpdate, String>(0));
|
rm.setData(new HashMap<IPropertiesUpdate, String>(0));
|
||||||
rm.done();
|
rm.done();
|
||||||
|
|
Loading…
Add table
Reference in a new issue