Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23737 > unrolled thread
| Started by | galois271@gmail.com |
|---|---|
| First post | 2013-04-30 08:58 -0700 |
| Last post | 2013-04-30 15:00 -0700 |
| Articles | 20 on this page of 34 — 7 participants |
Back to article view | Back to comp.lang.java.programmer
Getting Enclosure Contents using Rome RSS parser galois271@gmail.com - 2013-04-30 08:58 -0700
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-04-30 15:10 -0400
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-04-30 15:20 -0400
Re: Getting Enclosure Contents using Rome RSS parser lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-04-30 20:30 +0100
Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-04-30 12:23 -0700
Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-04-30 12:27 -0700
Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-04-30 12:58 -0700
Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-04-30 13:08 -0700
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-04-30 16:28 -0400
Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-04-30 13:59 -0700
Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-04-30 16:54 -0700
Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-04-30 17:31 -0700
Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-04-30 21:33 -0400
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 03:15 -0400
Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-01 20:33 -0400
Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-05-01 18:42 -0700
Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-01 21:56 -0400
Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-05-02 12:17 -0700
Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-02 19:50 -0400
Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-05-02 18:27 -0700
Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-02 21:39 -0400
Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-05-02 18:44 -0700
Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-02 21:55 -0400
Re: Getting Enclosure Contents using Rome RSS parser lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-01 06:59 +0100
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 03:18 -0400
Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-05-01 07:19 -0700
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 11:11 -0400
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 11:37 -0400
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 12:54 -0400
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 13:15 -0400
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 13:27 -0400
Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 13:33 -0400
Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-01 20:30 -0400
Re: Getting Enclosure Contents using Rome RSS parser Roedy Green <see_website@mindprod.com.invalid> - 2013-04-30 15:00 -0700
Page 1 of 2 [1] 2 Next page →
| From | galois271@gmail.com |
|---|---|
| Date | 2013-04-30 08:58 -0700 |
| Subject | Getting Enclosure Contents using Rome RSS parser |
| Message-ID | <0d99efd2-92b9-47da-b9b7-8e7f6ed8231c@googlegroups.com> |
Hi all,
I just downloaded Rome to use in my podcast catching program. I can't seem to find any decent documentation on it. I am trying to access the podcast URLs that are located in the enclosures.
Here is what I tried: (everything works great, but getting enclosure contents/values)
public static void main(String[] args) throws IOException, IllegalArgumentException, FeedException
{
URL url = new URL("http://www.theskepticsguide.org/feed/rss.aspx?feed=SGU");
XmlReader reader = null;
try {
reader = new XmlReader(url);
SyndFeed feed = new SyndFeedInput().build(reader);
System.out.println("Feed Title: " + feed.getAuthor());
for (@SuppressWarnings("rawtypes")Iterator i = feed.getEntries().iterator(); i.hasNext();)
{
SyndEntry entry = (SyndEntry) i.next();
System.out.println("Title: " + entry.getTitle());
System.out.println("Description: " + entry.getDescription().getValue());
System.out.println("Link: " + entry.getEnclosures() + '\n');
}
} finally {
if (reader != null)
reader.close();
}
}
}
[toc] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-04-30 15:10 -0400 |
| Message-ID | <klp4nb$m84$1@dont-email.me> |
| In reply to | #23737 |
On 04/30/2013 11:58 AM, galois271@gmail.com wrote: > Hi all, > I can't seem to find any decent documentation on it. No javadoc available? I'd really want that. What does getEnclosures() return? A bag/box/bunch of enclosures?
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-04-30 15:20 -0400 |
| Message-ID | <klp5a0$prp$1@dont-email.me> |
| In reply to | #23738 |
On 04/30/2013 03:10 PM, Jeff Higgins wrote: > On 04/30/2013 11:58 AM, galois271@gmail.com wrote: >> Hi all, >> > I can't seem to find any decent documentation on it. > No javadoc available? I'd really want that. > What does getEnclosures() return? A bag/box/bunch of enclosures? > Maybe once you have an enclosure there is some sort of content extraction tool.
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
|---|---|
| Date | 2013-04-30 20:30 +0100 |
| Message-ID | <RZOdnelgKudUhh3MnZ2dnUVZ8kednZ2d@bt.com> |
| In reply to | #23739 |
On 30/04/13 20:20, Jeff Higgins wrote: > On 04/30/2013 03:10 PM, Jeff Higgins wrote: >> On 04/30/2013 11:58 AM, galois271@gmail.com wrote: >>> Hi all, >>> >> I can't seem to find any decent documentation on it. >> No javadoc available? I'd really want that. >> What does getEnclosures() return? A bag/box/bunch of enclosures? >> > Maybe once you have an enclosure there is some sort of content > extraction tool. https://rometools.jira.com/wiki/display/ROME/ROME+1.0+Release source, doc and binary jars for rome-1.0 lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
[toc] | [prev] | [next] | [standalone]
| From | Chuck Johnson <galois271@gmail.com> |
|---|---|
| Date | 2013-04-30 12:23 -0700 |
| Message-ID | <dc511861-fcea-4a3e-89da-e99d2ef1411f@googlegroups.com> |
| In reply to | #23738 |
On Tuesday, April 30, 2013 2:10:16 PM UTC-5, Jeff Higgins wrote: > On 04/30/2013 11:58 AM, galois271@gmail.com wrote: > > > Hi all, > > > > > I can't seem to find any decent documentation on it. > > No javadoc available? I'd really want that. > > What does getEnclosures() return? A bag/box/bunch of enclosures? It apparently returns a List, but I can't seem to use indexes to get the members. ??
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-04-30 12:27 -0700 |
| Message-ID | <70df5682-1803-478c-9268-0a08cb382333@googlegroups.com> |
| In reply to | #23740 |
Chuck Johnson wrote:
> Jeff Higgins wrote:
>> galois271@....com wrote:
>>> I can't seem to find any decent documentation on it.
>>
>> No javadoc available? I'd really want that.
>>
>> What does getEnclosures() return? A bag/box/bunch of enclosures?
>
> It apparently returns a List, but I can't seem to use indexes to get the members. ??
First of all, OP, don't ever do this:
@SuppressWarnings("rawtypes") ...
Second, give us this, please:
http://sscce.org/
As to docs for Rome, where have you looked so far?
--
Lew
[toc] | [prev] | [next] | [standalone]
| From | Chuck Johnson <galois271@gmail.com> |
|---|---|
| Date | 2013-04-30 12:58 -0700 |
| Message-ID | <af9c91a6-954a-49db-b171-9dcd8cd8a6aa@googlegroups.com> |
| In reply to | #23741 |
> First of all, OP, don't ever do this:
>
>
>
> @SuppressWarnings("rawtypes") ...
>
>
>
> Second, give us this, please:
>
>
>
> http://sscce.org/
>
>
>
> As to docs for Rome, where have you looked so far?
>
>
>
> --
>
> Lew
I suppressed warnings because I'm just trying to get Rome to work, and that was a way recommended by Eclipse, sort of a TDD approach: make it so it doesn't fail. I'm really only testing Rome at the moment, no serious code.
Secondly, you have all my code, save the import statements and class declaration. Unless, you have Rome & JDOM installed, this code won't run for you. My hope is that one of you guys out there has actually used Rome before, and can help me.
[toc] | [prev] | [next] | [standalone]
| From | Chuck Johnson <galois271@gmail.com> |
|---|---|
| Date | 2013-04-30 13:08 -0700 |
| Message-ID | <e2e43545-b99d-46e7-afe3-33247c22e079@googlegroups.com> |
| In reply to | #23745 |
On Tuesday, April 30, 2013 2:58:01 PM UTC-5, Chuck Johnson wrote:
> > First of all, OP, don't ever do this:
>
> >
>
> >
>
> >
>
> > @SuppressWarnings("rawtypes") ...
>
> >
>
> >
>
> >
>
> > Second, give us this, please:
>
> >
>
> >
>
> >
>
> > http://sscce.org/
>
> >
>
> >
>
> >
>
> > As to docs for Rome, where have you looked so far?
>
> >
>
> >
>
> >
>
> > --
>
> >
>
> > Lew
>
>
>
> I suppressed warnings because I'm just trying to get Rome to work, and that was a way recommended by Eclipse, sort of a TDD approach: make it so it doesn't fail. I'm really only testing Rome at the moment, no serious code.
>
> Secondly, you have all my code, save the import statements and class declaration. Unless, you have Rome & JDOM installed, this code won't run for you. My hope is that one of you guys out there has actually used Rome before, and can help me.
The rometools link didn't help. On that site, are a bunch of dead links. :(
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-04-30 16:28 -0400 |
| Message-ID | <klp99c$jec$1@dont-email.me> |
| In reply to | #23747 |
On 04/30/2013 04:08 PM, Chuck Johnson wrote: >> I suppressed warnings because I'm just trying to get Rome to work, and that was a way recommended by Eclipse, ?? sort of a TDD approach: make it so it doesn't fail. TDD approach? really? I'll have to look into your no-fail approach. ] hadn't heard of it before. I'm really only testing Rome at the moment, no serious code. Secondly, you have all my code, save the import statements and class declaration. Unless, you have Rome& JDOM installed, this code won't run for you. As things stand there is no need for anyone to run the code. My hope is that one of you guys out there has actually used Rome before, and can help me. Hasn't sunk in yet? The rometools link didn't help. On that site, are a bunch of dead links. :( The frownny is funny.
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-04-30 13:59 -0700 |
| Message-ID | <1ea27315-72c5-420e-9c31-02f3b4b19759@googlegroups.com> |
| In reply to | #23745 |
Chuck Johnson wrote:
> [attribution restored: please attribute citations]
> Lew wrote:
>> First of all, OP, don't ever do this:
>>
>> @SuppressWarnings("rawtypes") ...
>>
>> Second, give us this, please:
>>
>> http://sscce.org/
>>
>> As to docs for Rome, where have you looked so far?
>
> I suppressed warnings because I'm just trying to get Rome to work,
A) Not relevant.
B) Not really going to do what you intend.
C) Don't use raw types.
> and that was a way recommended by Eclipse,
Nonsense.
> sort of a TDD approach: make it so it doesn't fail.
That's rather the opposite of TDD.
> I'm really only testing Rome at the moment, no serious code.
Okay, not really a good reason to indulge in bad habits, but okay ...
> Secondly, you have all my code, save the import statements and class declaration.
"... all ... save ..." is not the same as "all".
And I didn't ask for all your code, I asked for an SSCCE.
> Unless, you have Rome & JDOM installed, this code won't run for you.
> My hope is that one of you guys out there has actually used Rome before, and can help me.
I had no troubles with the linked project site. The Javadocs downloaded just fine. DId you
try them?
--
Lew
[toc] | [prev] | [next] | [standalone]
| From | Chuck Johnson <galois271@gmail.com> |
|---|---|
| Date | 2013-04-30 16:54 -0700 |
| Message-ID | <80a31c2e-8eac-4e9a-9ab7-071f11455bf4@googlegroups.com> |
| In reply to | #23749 |
> > I had no troubles with the linked project site. The Javadocs downloaded just fine. DId you > > try them? > > > > -- > > Lew I am not really sure how to use javadocs to find what I'm looking for. I don't know what class or what methods to look at. I'm pretty sure there a lots & lots of methods, so I would probably spend hours & hours looking for the right method(s). I was looking more for a wiki/tutorial, or someone who has used it before. Thanks, though.
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-04-30 17:31 -0700 |
| Message-ID | <a30f7cdf-1ef5-4a1b-930e-e2ecc0f3bb56@googlegroups.com> |
| In reply to | #23751 |
Chuck Johnson wrote: Again, please attribute citations. Did you not notice this request before? [Lew wrote:] >> I had no troubles with the linked project site. The Javadocs downloaded just fine. DId you >> try them? > > I am not really sure how to use javadocs to find what I'm looking for. I don't know what class or what Lots and lots of reading. Start with the summary of packages and work from there. > methods to look at. I'm pretty sure there a lots & lots of methods, so I would probably spend hours & > hours looking for the right method(s). You say that as if it were a reason not to do it. It isn't. That would be time very well spent. And the Rome Javadocs aren't all /that/ huge. > I was looking more for a wiki/tutorial, or someone who has > used it before. Too bad. Instead of rejecting the help you are getting in favor of the help you're not, get over it and accept the help you are getting. > Thanks, though. No need to get snarky. Just follow the advice. But since you don't like our advice, or our links, or respect requests for an SSCCE, try here: http://lmgtfy.com/?q=Java+Rome+RSS+library There seem to be some useful links there. -- Lew
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-04-30 21:33 -0400 |
| Message-ID | <518070ef$0$32110$14726298@news.sunsite.dk> |
| In reply to | #23749 |
On 4/30/2013 4:59 PM, Lew wrote:
> Chuck Johnson wrote:
>
>> [attribution restored: please attribute citations]
>> Lew wrote:
>>> First of all, OP, don't ever do this:
>>>
>>> @SuppressWarnings("rawtypes") ...
>>>
>>> Second, give us this, please:
>>>
>>> http://sscce.org/
>>>
>>> As to docs for Rome, where have you looked so far?
>>
>> I suppressed warnings because I'm just trying to get Rome to work,
>
> A) Not relevant.
> B) Not really going to do what you intend.
> C) Don't use raw types.
Why not tell him what you do when you are using a library
that has a method that return a raw type!!!!
Arne
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-05-01 03:15 -0400 |
| Message-ID | <klqf6m$pdt$1@dont-email.me> |
| In reply to | #23755 |
On 04/30/2013 09:33 PM, Arne Vajhøj wrote:
> On 4/30/2013 4:59 PM, Lew wrote:
>> Chuck Johnson wrote:
>>
>>> [attribution restored: please attribute citations]
>>> Lew wrote:
>>>> First of all, OP, don't ever do this:
>>>>
>>>> @SuppressWarnings("rawtypes") ...
>>>>
>>>> Second, give us this, please:
>>>>
>>>> http://sscce.org/
>>>>
>>>> As to docs for Rome, where have you looked so far?
>>>
>>> I suppressed warnings because I'm just trying to get Rome to work,
>>
>> A) Not relevant.
>> B) Not really going to do what you intend.
>> C) Don't use raw types.
>
> Why not tell him what you do when you are using a library
> that has a method that return a raw type!!!!
>
Well, you have a point but:
Chuck has demonstrated only a serious lack of gumption.
> Here is what I tried: (everything works great, but getting enclosure
> contents/values)
And then copy pasted a few lines from some web site and added a single
(misguided) line at the end, but hasn't shown that he understands any
of it.
I can't find the docs.
I can't read the docs.
I guess it returns a List, what now boss?
It will take a lot of time.
It will take a lot of effort
I was looking more for a wiki/tutorial, or someone who has used it before.
comp.lang.java.rentaprogrammer/tutor is <thataway>
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-05-01 20:33 -0400 |
| Message-ID | <5181b448$0$32107$14726298@news.sunsite.dk> |
| In reply to | #23758 |
On 5/1/2013 3:15 AM, Jeff Higgins wrote:
> On 04/30/2013 09:33 PM, Arne Vajhøj wrote:
>> On 4/30/2013 4:59 PM, Lew wrote:
>>> Chuck Johnson wrote:
>>>
>>>> [attribution restored: please attribute citations]
>>>> Lew wrote:
>>>>> First of all, OP, don't ever do this:
>>>>>
>>>>> @SuppressWarnings("rawtypes") ...
>>>>>
>>>>> Second, give us this, please:
>>>>>
>>>>> http://sscce.org/
>>>>>
>>>>> As to docs for Rome, where have you looked so far?
>>>>
>>>> I suppressed warnings because I'm just trying to get Rome to work,
>>>
>>> A) Not relevant.
>>> B) Not really going to do what you intend.
>>> C) Don't use raw types.
>>
>> Why not tell him what you do when you are using a library
>> that has a method that return a raw type!!!!
>>
> Well, you have a point but:
> Chuck has demonstrated only a serious lack of gumption.
>
> > Here is what I tried: (everything works great, but getting enclosure
> > contents/values)
> And then copy pasted a few lines from some web site and added a single
> (misguided) line at the end, but hasn't shown that he understands any
> of it.
>
> I can't find the docs.
> I can't read the docs.
> I guess it returns a List, what now boss?
> It will take a lot of time.
> It will take a lot of effort
> I was looking more for a wiki/tutorial, or someone who has used it before.
>
> comp.lang.java.rentaprogrammer/tutor is <thataway>
Possible.
But then there must be better points to make than objecting
against that @SuppressWarnings.
Arne
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-05-01 18:42 -0700 |
| Message-ID | <1bc85f6b-2592-4d2d-b6a0-ebf9a53cf862@googlegroups.com> |
| In reply to | #23776 |
Arne Vajhøj wrote: > But then there must be better points to make than objecting > against that @SuppressWarnings. You haven't established that that is an imperative, nor that the point about suppressing raw-type warnings is not good, nor that other points were not made, since they were. It is a rather important principle in Java not to use raw types. So how is that not a good point? Especially when served as part of a smörgasbord of useful questions, advice and requests for clarification. How about you not dissuade the OP from following good advice? -- Lew
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-05-01 21:56 -0400 |
| Message-ID | <5181c7dc$0$32111$14726298@news.sunsite.dk> |
| In reply to | #23778 |
On 5/1/2013 9:42 PM, Lew wrote: > Arne Vajhøj wrote: >> But then there must be better points to make than objecting >> against that @SuppressWarnings. > > You haven't established that that is an imperative, nor that the point > about suppressing raw-type warnings is not good, nor that other points were > not made, since they were. > > It is a rather important principle in Java not to use raw types. > > So how is that not a good point? Especially when served as part of a smörgasbord of > useful questions, advice and requests for clarification. > > How about you not dissuade the OP from following good advice? Let me repeat myself: #Why not tell him what you do when you are using a library #that has a method that return a raw type!!!! Arne
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-05-02 12:17 -0700 |
| Message-ID | <73edb605-f6a5-4f93-88d2-d97c5c12c278@googlegroups.com> |
| In reply to | #23779 |
Arne Vajhøj wrote: > Let me repeat myself: > > #Why not tell him what you do when you are using a library > #that has a method that return a raw type!!!! Sure: http://lmgtfy.com/?q=Java+what+do+with+legacy+method+that+returns+a+raw+type -- Lew
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-05-02 19:50 -0400 |
| Message-ID | <5182fbb0$0$32108$14726298@news.sunsite.dk> |
| In reply to | #23792 |
On 5/2/2013 3:17 PM, Lew wrote: > Arne Vajhøj wrote: >> Let me repeat myself: >> >> #Why not tell him what you do when you are using a library >> #that has a method that return a raw type!!!! > > Sure: > > http://lmgtfy.com/?q=Java+what+do+with+legacy+method+that+returns+a+raw+type Could you be a bit more specific. I checked the first 8 links and they either did not suggest a solution or suggested @SuppressWarnings. I mean: you did try it and found a link before posting right? Arne
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-05-02 18:27 -0700 |
| Message-ID | <a4764663-4b28-4694-a2a0-37e2e84b50f8@googlegroups.com> |
| In reply to | #23802 |
Arne Vajhøj wrote: > Lew wrote: >> Arne Vajhøj wrote: >>> Let me repeat myself: > >>> #Why not tell him what you do when you are using a library >>> #that has a method that return a raw type!!!! >> >> Sure: > >> http://lmgtfy.com/?q=Java+what+do+with+legacy+method+that+returns+a+raw+type > > Could you be a bit more specific. > > I checked the first 8 links and they either did not suggest > a solution or suggested @SuppressWarnings. > > I mean: you did try it and found a link before posting right? I tried it and found dozens of links mentioned. If you don't like it, come up with a better query. What's the matter, you don't know how to use a search engine? I'm not here to give Google lessons. Look it up yourself. -- Lew
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.java.programmer
csiph-web