Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-06-21 18:19:01 +0000
committerEugene Tarassov2013-06-21 18:19:01 +0000
commitdbc940779799060018e918f4ac57c2b44c67cf7b (patch)
treee86468c22542be982ee0b8ee032c358175668afa /plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse
parentb1c908a208dc81a70bf731c41554dfc8cd9ae94c (diff)
downloadorg.eclipse.tcf-dbc940779799060018e918f4ac57c2b44c67cf7b.tar.gz
org.eclipse.tcf-dbc940779799060018e918f4ac57c2b44c67cf7b.tar.xz
org.eclipse.tcf-dbc940779799060018e918f4ac57c2b44c67cf7b.zip
TCF Debugger: code cleanup
Diffstat (limited to 'plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse')
-rw-r--r--plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFBreakpointStatusListener.java15
1 files changed, 11 insertions, 4 deletions
diff --git a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFBreakpointStatusListener.java b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFBreakpointStatusListener.java
index 1be998e00..a1af6a7c7 100644
--- a/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFBreakpointStatusListener.java
+++ b/plugins/org.eclipse.tcf.cdt.ui/src/org/eclipse/tcf/internal/cdt/ui/TCFBreakpointStatusListener.java
@@ -128,7 +128,8 @@ class TCFBreakpointStatusListener {
else if (!ok && installed.get(id) == cbp) {
installed.remove(id);
decrementInstallCount(cbp);
- } else {
+ }
+ else {
updateTCFStamp(cbp);
}
}
@@ -172,7 +173,9 @@ class TCFBreakpointStatusListener {
cbp.incrementInstallCount();
doUpdateTCFStamp(cbp);
}
- catch (CoreException e) {} // ignore expected race condition with marker deletion
+ catch (CoreException e) {
+ // ignore expected race condition with marker deletion
+ }
return Status.OK_STATUS;
}
};
@@ -191,7 +194,9 @@ class TCFBreakpointStatusListener {
cbp.decrementInstallCount();
doUpdateTCFStamp(cbp);
}
- catch (CoreException e) {} // ignore expected race condition with marker deletion
+ catch (CoreException e) {
+ // ignore expected race condition with marker deletion
+ }
return Status.OK_STATUS;
}
};
@@ -209,7 +214,9 @@ class TCFBreakpointStatusListener {
try {
doUpdateTCFStamp(cbp);
}
- catch (CoreException e) {} // ignore expected race condition with marker deletion
+ catch (CoreException e) {
+ // ignore expected race condition with marker deletion
+ }
return Status.OK_STATUS;
}
};

Back to the top