• 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
Help with a Wonder_7 change to NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with a Wonder_7 change to NSArray


  • Subject: Help with a Wonder_7 change to NSArray
  • From: Gavin Eadie <email@hidden>
  • Date: Sun, 03 Jan 2016 17:54:45 -0500

I’ve been away from my WebObjects project for nearly a year and returned to it to move it from SourceForge to GitHub.  In the process I upped to the latest Wonder, Eclipse and Java 8.  I got surprising few places that I needed to make adjustments, but one caught me out.

What was:
    NSArray<String>   result = new NSArray<String>("YYYY", "ZZZZ");

needed changed to:
    NSArray<String>   result = new NSArray<String>(new String[] {"YYYY", "ZZZZ"});


It looks like this change is:

Commit:	b8e231930a823690d44f6a49cddf2e41eb6ab242 [b8e2319]
Author:	qdolan <qdolan@8dc76679-1c23-de11-85cd-0050568e728b>
Date:	May 27, 2009 at 2:25:21 AM EDT

.. but, if this happened over five years ago, why haven’t I fallen over it before now?

PS: Happy New Year to the list ..
 _______________________________________________
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


  • Prev by Date: Re: WO Jobs in Southern Germany
  • Next by Date: Re: Ajax ?
  • Previous by thread: Re: Ajax ?
  • Next by thread: Re: er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext
  • Index(es):
    • Date
    • Thread