Fwd: 5.2.3 broke boolean conversions?
Fwd: 5.2.3 broke boolean conversions?
- Subject: Fwd: 5.2.3 broke boolean conversions?
- From: Nathan Hampton <email@hidden>
- Date: Thu, 22 Apr 2004 21:48:58 -0500
On 19 Apr 2004, at 10:30 PM, Greg Hulands wrote:
... Regenerate the class so it changes the Number to Boolean and all
should be sweet.
Better yet, just change "Number" to "Boolean" by hand and save a trip
to FileMerge. :)
public Number inactive() {
return (Number)storedValueForKey("inactive");
}
While I'm here, can anyone explain why EOM stopped making methods that
return Integer? A couple of versions ago (5.2.1 or something), Value
Class (Java) = Number and Value Type = i would give me "public Integer
quantity()" rather than "public Number quantity()." I tend to prefer
the former, if for no other reason than it makes it easier for me to
remember what to expect when I'm working with the variables.
--NCH
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.