cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Java 5 - "(String) null"
Date Wed, 09 Mar 2005 08:14:00 GMT
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?

-- 
Reinhard Pötz           Independant Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

Mime
View raw message