Hi Ted,
there are many places in Wonder that are correct though not optimal. You could
change the code you found to
public NSArray<String> dayList() {
if (dayList == null) {
dayList = new NSArray<String>(
"01","02","03","04","05","06","07","08","09","10",
"11","12","13","14","15","16","17","18","19","20",
"21","22","23","24","25","26","27","28","29","30","31"
);
}
return dayList;
}
and make a pull request :-)
jw
Am 14.01.2013 um 15:29 schrieb Theodore Petrosky <[email protected]>:
> I notice in ERDEditDatePopupCommon.java:
>
> public NSArray dayList() {
> if (dayList == null) {
> dayList = new NSMutableArray(new Object[] {
> "01","02","03","04","05","06","07","08","09","10",
> "11","12","13","14","15","16","17","18","19","20",
> "21","22","23","24","25","26","27","28","29","30","31"
> });
> }
> return dayList;
> }
>
> the array is set up as an array of Objects not Strings. Is there any
> advantage to using Object as the type. I mean, String inherits from Object,
> so why?
>
> Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]