geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: svn commit: r468218 - in /geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator: DocumentationGenerator.java NamespaceMapping.java WikiDocumentationGenerator.java XsdGenerator.java
Date Fri, 27 Oct 2006 06:55:23 GMT
On 10/27/06, dblevins@apache.org <dblevins@apache.org> wrote:
> Author: dblevins
> Date: Thu Oct 26 18:03:47 2006
> New Revision: 468218
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=468218

> +            b = Utils.isSimpleType(type)? Boolean.TRUE: Boolean.FALSE;

It could be much easier if it were executed on Java 1.5 and above
only. How cumbersome it looks. I meant to have asked you about why do
you use the ternary '?' operator as the first operand would be fine
(plus autoboxing), but then realized we're on Java 1.4. It just caught
my sight and couldn't resist to mention it ;-)

-- 
Jacek Laskowski
http://www.jaceklaskowski.pl

Mime
View raw message