Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38472
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Checked casting with Generics |
| Date | 2018-07-04 17:37 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <phjenc$83o$1@dont-email.me> (permalink) |
| References | <phj8qt$hpp$1@news.albasani.net> <phjdqv$2ve$1@dont-email.me> |
On 7/4/2018 5:22 PM, Eric Sosman wrote:
> [...[
> Unless something else turns up, the best I can suggest is to add
> `@SuppressWarning("unchecked")' and an extensive comment ...
`@SuppressWarnings("unchecked")', of course (sorry)!
^
Also, I notice that javax.mail's public API wasn't generified until
version 1.6, which seems to have come out about one year ago. If your
version is older than that it probably doesn't grok generics at all.
--
esosman@comcast-dot-net.invalid
Nine hundred thirty-one days to go.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Checked casting with Generics Martin Gregorie <martin@mydomain.invalid> - 2018-07-04 19:57 +0000
Re: Checked casting with Generics Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-07-04 17:22 -0400
Re: Checked casting with Generics Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-07-04 17:37 -0400
Re: Checked casting with Generics Martin Gregorie <martin@mydomain.invalid> - 2018-07-04 23:03 +0000
Re: Checked casting with Generics Martin Gregorie <martin@mydomain.invalid> - 2018-07-05 15:38 +0000
Re: Checked casting with Generics Martin Gregorie <martin@mydomain.invalid> - 2018-07-04 22:56 +0000
csiph-web