From 8b28f2f9b26df612c147b33b76de55d2b87efec4 Mon Sep 17 00:00:00 2001 From: khartlage Date: Sat, 18 Jan 2003 12:48:04 +0000 Subject: [PATCH] fixed Message bug --- .../src/net/sourceforge/phpdt/tidy/Report.java | 4 ++-- .../src/net/sourceforge/phpdt/tidy/Tidy.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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); -- 1.7.1