mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +02:00
Adjusted minor inneficiency someone here noticed.
This commit is contained in:
parent
0408d6e901
commit
56dd415d35
1 changed files with 3 additions and 2 deletions
|
@ -459,9 +459,10 @@ public class CBreakpointManager implements IBreakpointsListener, IBreakpointMana
|
||||||
if ( breakpoint == null ) {
|
if ( breakpoint == null ) {
|
||||||
breakpoint = createLocationBreakpoint( cdiBreakpoint );
|
breakpoint = createLocationBreakpoint( cdiBreakpoint );
|
||||||
}
|
}
|
||||||
synchronized( getBreakpointMap() ) {
|
if ( breakpoint != null ) {
|
||||||
if ( breakpoint != null )
|
synchronized( getBreakpointMap() ) {
|
||||||
getBreakpointMap().put( breakpoint, cdiBreakpoint );
|
getBreakpointMap().put( breakpoint, cdiBreakpoint );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( breakpoint != null ) {
|
if ( breakpoint != null ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue