Help with a Wonder_7 change to NSArray
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