🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #174

warning: [unchecked] unchecked conversion

#174
From: Raul Lorenzo
Date: Tue, 04 Apr 2006 14:51
10 lines
1077 bytes
Hello,

I have this piece of code:

ArrayList<Element> children = new ArrayList<Element>();
children.addAll(current.getOwnedElement());

What do I need to add to second line to remove the warning?

Thanks
Technical Details
Message-ID: <4432880a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,f529280ba60199cd,start
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 04 Apr 2006 16:51:56 +0200
From: Raul Lorenzo <rlorenb@agalisa.es>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: warning: [unchecked] unchecked conversion
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 83.60.225.97
Message-ID: <4432880a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1144162314 83.60.225.97 (4 Apr 2006 07:51:54 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail