java question
java question
- Subject: java question
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 14 Jan 2013 06:29:13 -0800 (PST)
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden