ICU-2895 Fix Java 1.3/1.4 compile error introduced by the change set 22492
X-SVN-Rev: 22498
This commit is contained in:
parent
bc24e7af5e
commit
d65632d32e
@ -419,7 +419,7 @@ public abstract class DateFormat extends UFormat {
|
||||
return format( new Date(((Number)obj).longValue()),
|
||||
toAppendTo, fieldPosition );
|
||||
else
|
||||
throw new IllegalArgumentException("Cannot format given Object (" + obj.getClass().getSimpleName() + ") as a Date");
|
||||
throw new IllegalArgumentException("Cannot format given Object (" + obj.getClass().getName() + ") as a Date");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user