Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2012-04-17 23:11:24 -0400
committerSergey Prigogin2012-04-17 23:11:24 -0400
commit83cf5dc8303da5df560bde6ebb602b1e5cc59fb8 (patch)
treeb3230763cc98bbd271f6c39e32c2fce868f23eaa
parente7ef578e94479290ab1a9b593a957f4a067e2dc8 (diff)
downloadorg.eclipse.cdt-83cf5dc8303da5df560bde6ebb602b1e5cc59fb8.tar.gz
org.eclipse.cdt-83cf5dc8303da5df560bde6ebb602b1e5cc59fb8.tar.xz
org.eclipse.cdt-83cf5dc8303da5df560bde6ebb602b1e5cc59fb8.zip
Cosmetics.
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMManager.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMManager.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMManager.java
index a7ffd73770b..5dd7d221db5 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMManager.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/PDOMManager.java
@@ -984,7 +984,7 @@ public class PDOMManager implements IWritableIndexManager, IListener {
Job notify= new Job(Messages.PDOMManager_notifyJob_label) {
@Override
protected IStatus run(IProgressMonitor monitor) {
- while(true) {
+ while (true) {
final Runnable r;
synchronized (fChangeEvents) {
if (fChangeEvents.isEmpty()) {
@@ -1027,11 +1027,12 @@ public class PDOMManager implements IWritableIndexManager, IListener {
Object[] listeners= fStateListeners.getListeners();
for (Object listener2 : listeners) {
final IIndexerStateListener listener = (IIndexerStateListener) listener2;
- SafeRunner.run(new ISafeRunnable(){
+ SafeRunner.run(new ISafeRunnable() {
@Override
public void handleException(Throwable exception) {
CCorePlugin.log(exception);
}
+
@Override
public void run() throws Exception {
listener.indexChanged(fIndexerStateEvent);
@@ -1064,11 +1065,12 @@ public class PDOMManager implements IWritableIndexManager, IListener {
Object[] listeners= fChangeListeners.getListeners();
for (Object listener2 : listeners) {
final IIndexChangeListener listener = (IIndexChangeListener) listener2;
- SafeRunner.run(new ISafeRunnable(){
+ SafeRunner.run(new ISafeRunnable() {
@Override
public void handleException(Throwable exception) {
CCorePlugin.log(exception);
}
+
@Override
public void run() throws Exception {
listener.indexChanged(fIndexChangeEvent);
@@ -1433,11 +1435,12 @@ public class PDOMManager implements IWritableIndexManager, IListener {
@Override
public void run() {
for (final IndexerSetupParticipant p : participants) {
- SafeRunner.run(new ISafeRunnable(){
+ SafeRunner.run(new ISafeRunnable() {
@Override
public void handleException(Throwable exception) {
CCorePlugin.log(exception);
}
+
@Override
public void run() throws Exception {
p.onIndexerSetup(cproject);

Back to the top