X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/TextBufferFactory.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/TextBufferFactory.java index 5d6800b..e596c7e 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/TextBufferFactory.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/TextBufferFactory.java @@ -20,7 +20,7 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import net.sourceforge.phpdt.internal.corext.util.IOCloser; -import net.sourceforge.phpdt.internal.ui.JavaStatusConstants; +import net.sourceforge.phpdt.internal.ui.PHPStatusConstants; import org.eclipse.jface.text.Document; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.source.IAnnotationModel; @@ -145,7 +145,7 @@ import org.eclipse.ui.texteditor.IDocumentProvider; document.set(buffer.toString()); return new TextBuffer(document); } catch (IOException x) { - IStatus s= new Status(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), JavaStatusConstants.INTERNAL_ERROR, x.getMessage(), x); + IStatus s= new Status(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), PHPStatusConstants.INTERNAL_ERROR, x.getMessage(), x); throw new CoreException(s); } finally { IOCloser.perform(in, stream); @@ -179,7 +179,7 @@ import org.eclipse.ui.texteditor.IDocumentProvider; private void throwNotManaged() throws CoreException { IStatus s= new Status(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), - JavaStatusConstants.INTERNAL_ERROR, TextManipulationMessages.getString("TextBufferFactory.bufferNotManaged"), null); //$NON-NLS-1$ + PHPStatusConstants.INTERNAL_ERROR, TextManipulationMessages.getString("TextBufferFactory.bufferNotManaged"), null); //$NON-NLS-1$ throw new CoreException(s); } }