Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2008-02-22 16:49:01 +0000
committerMarkus Schorn2008-02-22 16:49:01 +0000
commitf9955fec1278e49ccd5cf76df5887f2bde1973a5 (patch)
tree76cb5aa2053fd08ada29c0f259be63f734a52657 /core/org.eclipse.cdt.core/parser
parentd7c8e7a187b146dd94c25401239c0444ef81e73f (diff)
downloadorg.eclipse.cdt-f9955fec1278e49ccd5cf76df5887f2bde1973a5.tar.gz
org.eclipse.cdt-f9955fec1278e49ccd5cf76df5887f2bde1973a5.tar.xz
org.eclipse.cdt-f9955fec1278e49ccd5cf76df5887f2bde1973a5.zip
Fixes message in problem tracing.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java
index 9256e5bf0be..75edd5d455a 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java
@@ -66,7 +66,7 @@ public class ASTProblem extends ASTNode implements IASTProblem {
char[] file= getOriginatingFileName();
int line= getSourceLineNumber();
- Object[] args = new Object[] { msg, file, new Integer(line) };
+ Object[] args = new Object[] { msg, new String(file), new Integer(line) };
return ParserMessages.getFormattedString(PROBLEM_PATTERN, args);
}

Back to the top