X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/jdom/DOMFactory.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/jdom/DOMFactory.java index 20ef495..a803c26 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/jdom/DOMFactory.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/jdom/DOMFactory.java @@ -55,7 +55,7 @@ public IDOMCompilationUnit createCompilationUnit(String sourceCode, String name) * Method declared on IDOMFactory. */ //public IDOMField createField() { -// return createField("Object aField;"+ Util.LINE_SEPARATOR); //$NON-NLS-1$ +// return createField("Object aField;"+ ProjectPrefUtil.LINE_SEPARATOR); //$NON-NLS-1$ //} ///* (non-Javadoc) // * Method declared on IDOMFactory. @@ -85,7 +85,7 @@ public IDOMCompilationUnit createCompilationUnit(String sourceCode, String name) * Method declared on IDOMFactory. */ //public IDOMInitializer createInitializer() { -// return createInitializer("static {}"+ Util.LINE_SEPARATOR); //$NON-NLS-1$ +// return createInitializer("static {}"+ ProjectPrefUtil.LINE_SEPARATOR); //$NON-NLS-1$ //} ///* (non-Javadoc) // * Method declared on IDOMFactory. @@ -100,7 +100,7 @@ public IDOMCompilationUnit createCompilationUnit(String sourceCode, String name) * Method declared on IDOMFactory. */ //public IDOMMethod createMethod() { -// return createMethod("public void newMethod() {"+ Util.LINE_SEPARATOR+"}"+ Util.LINE_SEPARATOR); //$NON-NLS-2$ //$NON-NLS-1$ +// return createMethod("public void newMethod() {"+ ProjectPrefUtil.LINE_SEPARATOR+"}"+ ProjectPrefUtil.LINE_SEPARATOR); //$NON-NLS-2$ //$NON-NLS-1$ //} ///* (non-Javadoc) // * Method declared on IDOMFactory. @@ -130,19 +130,19 @@ public IDOMPackage createPackage() { // * Method declared on IDOMFactory. // */ //public IDOMType createType() { -// return createType("public class AClass {"+ Util.LINE_SEPARATOR +"}"+ Util.LINE_SEPARATOR); //$NON-NLS-2$ //$NON-NLS-1$ +// return createType("public class AClass {"+ ProjectPrefUtil.LINE_SEPARATOR +"}"+ ProjectPrefUtil.LINE_SEPARATOR); //$NON-NLS-2$ //$NON-NLS-1$ //} /* (non-Javadoc) * Method declared on IDOMFactory. */ //public IDOMType createClass() { -// return createType("public class AClass {"+ Util.LINE_SEPARATOR +"}"+ Util.LINE_SEPARATOR); //$NON-NLS-2$ //$NON-NLS-1$ +// return createType("public class AClass {"+ ProjectPrefUtil.LINE_SEPARATOR +"}"+ ProjectPrefUtil.LINE_SEPARATOR); //$NON-NLS-2$ //$NON-NLS-1$ //} ///* (non-Javadoc) // * Method declared on IDOMFactory. // */ //public IDOMType createInterface() { -// return createType("public interface AnInterface {"+ Util.LINE_SEPARATOR +"}"+ Util.LINE_SEPARATOR); //$NON-NLS-2$ //$NON-NLS-1$ +// return createType("public interface AnInterface {"+ ProjectPrefUtil.LINE_SEPARATOR +"}"+ ProjectPrefUtil.LINE_SEPARATOR); //$NON-NLS-2$ //$NON-NLS-1$ //} /* (non-Javadoc) * Method declared on IDOMFactory.