Because there is a difference between generated code and hand written one.

Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Jan 15, 2008, at 21:22, Gaastra Dennis - WO Lists wrote:

Now, why do all Velocity and JavaEOGenerator templates have @SuppressWarnings("all") ???

With Kind Regards,

Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca]
Chief Technology Officer,



On 15-Jan-08, at 9:04 PM, Mr. Pierre Frisch wrote:

I hope you are joking. Warnings are important and help you find bug at compile time instead of run time. @SuppressWarnings("all") will suppress not only generics warning but also deprecations and others.

Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Jan 15, 2008, at 18:40, Chuck Hill wrote:


On Jan 13, 2008, at 6:02 PM, Art Isbell wrote:

On Jan 13, 2008, at 11:48 AM, Lachlan Deck wrote:

What do you think?


I agree with Ken Arnold (<http://weblogs.java.net/blog/arnold/archive/2005/06/generics_consid_1.html >) and Bruce Eckel (<http://www.mindview.net/WebLog/log-0050>) that Java Generics are a PITA that aren't worth the bother most of the time. The amount of time I've spent trying to make my custom code compile under genericized WO 5.4 without warnings is disgusting. So I'm about to decide to @SuppressWarnings("all") every custom class and ignore Java generics. Heresy, I know, but I'm an Objective-C, not a Java guy :-)

I am happy to see that I am not the only heretic here.

Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/pierre%40apple.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects_lists%40webappz.com

This email sent to [EMAIL PROTECTED]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to