• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Ternary op + autoboxing + null value = NPE?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ternary op + autoboxing + null value = NPE?


  • Subject: Re: Ternary op + autoboxing + null value = NPE?
  • From: Lachlan Deck <email@hidden>
  • Date: Tue, 20 Oct 2009 14:59:10 +1100

On 20/10/2009, at 3:52 AM, Chuck Hill wrote:

On Oct 19, 2009, at 8:37 AM, Mike Schrag wrote:

I personally don't like boxing -- I think it's very misleading and leads to weird bugs like this.

+1

Keep it consistent... new Integer(1);

with regards,
--

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Ternary op + autoboxing + null value = NPE?
      • From: Chuck Hill <email@hidden>
References: 
 >Ternary op + autoboxing + null value = NPE? (From: Ramsey Gurley <email@hidden>)
 >Re: Ternary op + autoboxing + null value = NPE? (From: Mike Schrag <email@hidden>)
 >Re: Ternary op + autoboxing + null value = NPE? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Snow Leopard and TimeZones
  • Next by Date: Re: Ternary op + autoboxing + null value = NPE?
  • Previous by thread: Re: Ternary op + autoboxing + null value = NPE?
  • Next by thread: Re: Ternary op + autoboxing + null value = NPE?
  • Index(es):
    • Date
    • Thread