diff options
Diffstat (limited to 'debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CWatchpoint.java')
-rw-r--r-- | debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CWatchpoint.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CWatchpoint.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CWatchpoint.java index f90509fd80f..c475621c429 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CWatchpoint.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/breakpoints/CWatchpoint.java @@ -15,7 +15,6 @@ package org.eclipse.cdt.debug.internal.core.breakpoints; import java.math.BigInteger; -import java.text.MessageFormat; import java.util.Map; import org.eclipse.cdt.debug.core.CDebugUtils; @@ -24,6 +23,8 @@ import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; +import com.ibm.icu.text.MessageFormat; + /** * A watchpoint specific to the C/C++ debug model. */ @@ -83,7 +84,7 @@ public class CWatchpoint extends CBreakpoint implements ICWatchpoint2 { format = BreakpointMessages.getString("CWatchpoint.1"); //$NON-NLS-1$ else if (isWriteType() && isReadType()) format = BreakpointMessages.getString("CWatchpoint.2"); //$NON-NLS-1$ - return MessageFormat.format(format, CDebugUtils.getBreakpointText(this, false)); + return MessageFormat.format(format, new Object[] { CDebugUtils.getBreakpointText(this, false) }); } /* (non-Javadoc) |