| Message view | « Date » · « Thread » |
|---|---|
| Top | « Date » · « Thread » |
| From | Peter Hunsberger <peter.hunsber...@gmail.com> |
| Subject | Re: Java 5 - "(String) null" |
| Date | Wed, 09 Mar 2005 14:41:37 GMT |
On Wed, 09 Mar 2005 09:14:00 +0100, Reinhard Poetz <reinhard@apache.org> wrote: > antonio@apache.org wrote: > > > + this.addItem(c.getTime(), (String)null); > > I guess Java 5 needs this strange casts "(String) null". What's the reason for this? > Got me, but I've allso had problems with 1.4.2_06 giving a CCE on an naked null. Surprised the heck out of me... -- Peter Hunsberger | |
| Mime |
|
| View raw message | |