i'm sending some code

Rizsanyi Zsolt kaffe@rufus.w3.org
Wed, 28 Jun 2000 13:27:10 +0200


For I don't have cvs access, I'm sending you this fix by mail.
Please somebody incorporate it:

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;
}