You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Viktor Szathmary <vi...@presence.hu> on 2000/09/23 19:29:45 UTC

[BUG] MessageHandler.NONE bug

hi!

after calling MessageHandler.setOutputMethod(MessageHandler.NONE),
messages are still written on stdout/stderr.

two "break" statements are missing from class
org.apache.fop.messaging.MessageHandler in methods log(...) and
error(...).


the lines:

      case NONE:
        //do nothing
      default:
        System.out.print(message);

should be:

      case NONE:
        //do nothing
        break;
      default:
        System.out.print(message);


keep up the good work.

	viktor

ps. note: i'm not subscribed on this list.


Re: [BUG] MessageHandler.NONE bug

Posted by Fotis Jannidis <fo...@lrz.uni-muenchen.de>.
has been fixed in the cvs version. thnaks for the report.

Fotis

Send reply to:  	fop-dev@xml.apache.org
Date sent:      	Sat, 23 Sep 2000 19:29:45 +0200 (CEST)
From:           	Viktor Szathmary <vi...@presence.hu>
To:             	fop-dev@xml.apache.org
Subject:        	[BUG] MessageHandler.NONE bug

> hi!
> 
> after calling MessageHandler.setOutputMethod(MessageHandler.NONE),
> messages are still written on stdout/stderr.
> 
> two "break" statements are missing from class
> org.apache.fop.messaging.MessageHandler in methods log(...) and
> error(...).
> 
> 
> the lines:
> 
>       case NONE:
>         //do nothing
>       default:
>         System.out.print(message);
> 
> should be:
> 
>       case NONE:
>         //do nothing
>         break;
>       default:
>         System.out.print(message);
> 
> 
> keep up the good work.
> 
> 	viktor
> 
> ps. note: i'm not subscribed on this list.
>