Article View: borland.public.jbuilder.java.language
Article #177Re: warning: [unchecked] unchecked conversion
From: Paul Furbacher [TeamB]
Date: Wed, 05 Apr 2006 03:46
Date: Wed, 05 Apr 2006 03:46
28 lines
1877 bytes
1877 bytes
Raul Lorenzo wrote:
> [the] method belongs to MagicDraw OpenAPI, so I
> couldn�t change it.
> current is a kind of container which could have different kind of
> elements, and those elements are returned by getOwnedElement().
In that case, one alternative would be to add the annotation
@SuppressWarning("unchecked")
to stifle the warning.
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
Technical Details
Message-ID:
<44333d8d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4432880a$1@newsgroups.borland.com> <44329514$1@newsgroups.borland.com> <4432a27b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,f529280ba60199cd X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII Date: Tue, 04 Apr 2006 23:46:24 -0400 From: "Paul Furbacher [TeamB]" <pfurbacher@mac.com> Organization: Reverse Alchemy, Inc. User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: warning: [unchecked] unchecked conversion References: <4432880a$1@newsgroups.borland.com> <44329514$1@newsgroups.borland.com> <4432a27b$1@newsgroups.borland.com> In-Reply-To: <4432a27b$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 69.142.194.228 Message-ID: <44333d8d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1144208781 69.142.194.228 (4 Apr 2006 20:46:21 -0700) Lines: 28 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail