X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelStatus.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelStatus.java index e895a82..37a591d 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelStatus.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelStatus.java @@ -124,26 +124,26 @@ public class JavaModelStatus * Constructs an Java model status with the given corresponding * element. */ - // public JavaModelStatus(int code, IJavaElement element) { - // this(code, new IJavaElement[]{element}); - // } + public JavaModelStatus(int code, IJavaElement element) { + this(code, new IJavaElement[]{element}); + } /** * Constructs an Java model status with the given corresponding * element and string */ - // public JavaModelStatus(int code, IJavaElement element, String string) { - // this(code, new IJavaElement[]{element}); - // fString = string; - // } - // - // /** - // * Constructs an Java model status with the given corresponding - // * element and path - // */ - // public JavaModelStatus(int code, IJavaElement element, IPath path) { - // this(code, new IJavaElement[]{element}); - // fPath = path; - // } + public JavaModelStatus(int code, IJavaElement element, String string) { + this(code, new IJavaElement[]{element}); + fString = string; + } + + /** + * Constructs an Java model status with the given corresponding + * element and path + */ + public JavaModelStatus(int code, IJavaElement element, IPath path) { + this(code, new IJavaElement[]{element}); + fPath = path; + } /** * Constructs an Java model status with no corresponding elements. */