Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 52018 invoked from network); 27 Oct 2006 06:55:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2006 06:55:51 -0000 Received: (qmail 7739 invoked by uid 500); 27 Oct 2006 06:55:59 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 7703 invoked by uid 500); 27 Oct 2006 06:55:59 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 7692 invoked by uid 99); 27 Oct 2006 06:55:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 23:55:59 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of eljotpl@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 23:55:47 -0700 Received: by py-out-1112.google.com with SMTP id e30so502429pya for ; Thu, 26 Oct 2006 23:55:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TPMq9Lc0/J/ER+FCFYSSpsH/i6MWkxrzbIdxBMi8o2PRhQA1ic+Niap/qNLl8rD5G6pyw460uYBquS6ziAnrwOQMQMwr2HJjc86/yX1ccBzSUDQaA3e0EYQ6ukzJyiACh3fdAmjXzbOqQSnGvmBfxPNwq2nRcVZmfCEoWv/p0SI= Received: by 10.35.99.6 with SMTP id b6mr5018851pym; Thu, 26 Oct 2006 23:55:23 -0700 (PDT) Received: by 10.35.48.10 with HTTP; Thu, 26 Oct 2006 23:55:23 -0700 (PDT) Message-ID: <1b5bfeb50610262355n6f5ccb9ajc62bd5e18dd9256e@mail.gmail.com> Date: Fri, 27 Oct 2006 08:55:23 +0200 From: "Jacek Laskowski" Reply-To: jacek@laskowski.net.pl Sender: eljotpl@gmail.com To: dev@geronimo.apache.org 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 In-Reply-To: <20061027010348.296A51A9846@eris.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061027010348.296A51A9846@eris.apache.org> X-Google-Sender-Auth: ccf9f291085c648d X-Virus-Checked: Checked by ClamAV on apache.org On 10/27/06, 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