X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/problem/DefaultProblem.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/problem/DefaultProblem.java index db6db84..83d80cf 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/problem/DefaultProblem.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/problem/DefaultProblem.java @@ -11,7 +11,7 @@ package net.sourceforge.phpdt.internal.compiler.problem; import net.sourceforge.phpdt.core.compiler.IProblem; import net.sourceforge.phpdt.internal.compiler.util.Util; -import org.eclipse.ui.texteditor.ITextEditor; + public class DefaultProblem implements ProblemSeverities, IProblem { private char[] fileName; private int id; @@ -91,7 +91,7 @@ public class DefaultProblem implements ProblemSeverities, IProblem { // //sanity ..... // if ((startPosition > endPosition) // || ((startPosition <= 0) && (endPosition <= 0))) - // return Util.bind("problem.noSourceInformation"); //$NON-NLS-1$ + // return ProjectPrefUtil.bind("problem.noSourceInformation"); //$NON-NLS-1$ // // final char SPACE = '\u0020'; // final char MARK = '^'; @@ -160,7 +160,7 @@ public class DefaultProblem implements ProblemSeverities, IProblem { // //resize underneathto remove 'null' chars // System.arraycopy(underneath, 0, underneath = new char[pos], 0, pos); // - // return " " + Util.bind("problem.atLine", String.valueOf(line)) + // return " " + ProjectPrefUtil.bind("problem.atLine", String.valueOf(line)) // //$NON-NLS-2$ //$NON-NLS-1$ // + "\n\t" + new String(extract) + "\n\t" + new String(underneath); // //$NON-NLS-2$ //$NON-NLS-1$