From: khartlage Date: Sat, 18 Jan 2003 12:48:04 +0000 (+0000) Subject: fixed Message bug X-Git-Url: http://secure.phpeclipse.com fixed Message bug --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/tidy/Report.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/tidy/Report.java index abed122..2a88b13 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/tidy/Report.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/tidy/Report.java @@ -6,7 +6,7 @@ package net.sourceforge.phpdt.tidy; /** - * + * * Error/informational message reporter. * * You should only need to edit the file TidyMessages.properties @@ -136,7 +136,7 @@ public class Report { static { try { - res = ResourceBundle.getBundle("org/w3c/tidy/TidyMessages"); + res = ResourceBundle.getBundle("net/sourceforge/phpdt/tidy/TidyMessages"); } catch (MissingResourceException e) { throw new Error(e.toString()); } diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/tidy/Tidy.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/tidy/Tidy.java index 20862c1..2eb0686 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/tidy/Tidy.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/tidy/Tidy.java @@ -168,7 +168,7 @@ public class Tidy implements java.io.Serializable { private PrintWriter stderr = null; private Configuration configuration = null; private String inputStreamName = "InputStream"; - private int parseErrors = 0; + private int parseErrors = 0; private int parseWarnings = 0; public Tidy() { @@ -1024,8 +1024,8 @@ public class Tidy implements java.io.Serializable { document = ParserImpl.parseXMLDocument(lexer); else { lexer.warnings = 0; - if (!configuration.Quiet) - Report.helloMessage(errout, Report.RELEASE_DATE, inputStreamName); + // if (!configuration.Quiet) + // Report.helloMessage(errout, Report.RELEASE_DATE, inputStreamName); document = ParserImpl.parseDocument(lexer);