i'm sending some code

Archie Cobbs kaffe@rufus.w3.org
Wed, 28 Jun 2000 13:16:55 -0700 (PDT)


Rizsanyi Zsolt writes:
> this is a fix for the class java.text.Format
> 
> The method java.lang.Object parseObject(String) should throw
> ParseException.
> So it should look out like this:
> 
> public Object parseObject(String source) throws ParseException{
> 	ParsePosition pp = new ParsePosition(0);
> 	Object obj = parseObject(source, pp );
> 	if (pp.getIndex()==0) throw new ParseException("parseObject failed",0);
> 	return obj;
> }

Fixed.. thanks!

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com