| Author |
Collections
|
vuthlarhi donald
Ranch Hand
Joined: Jul 31, 2006
Posts: 76
|
|
can anyone explain the unchecked warning that is given in line 3 and why it occurs [ January 27, 2008: Message edited by: vuthlarhi donald ]
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
There is no line 3. All of your code is in a single line. If you click the icon in your first post, you will be able to edit it to make it more readable.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32833
|
|
Thank you for editing your post. Why do you think it occurs in no 3 and not in no 1 and 2?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
Originally posted by Campbell Ritchie: Thank you for editing your post. Why do you think it occurs in no 3 and not in no 1 and 2?
Because that's what the compiler tells you. I tried, and got the warning on line 3.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32833
|
|
|
Now that's a really helpful answer!
|
 |
Nitesh Kant
Bartender
Joined: Feb 25, 2007
Posts: 1638
|
|
|
Posted answer to a similar question here.
|
apigee, a better way to API!
|
 |
 |
|
|
subject: Collections
|
|
|