I don't think you should use Object as a generic type.

Dave Hoffer
- sent via G1

On Dec 10, 2008 12:30 PM, "MMM" <[EMAIL PROTECTED]> wrote:


Thanks Isaac and Thomas.

I upgrade to GWT 1.5, but I still have two warnings:

--First: Type safety: The expression of type List needs unchecked
conversion to conform to List<Object>
Code:
               FileItemFactory factory = new DiskFileItemFactory();
               ServletFileUpload upload = new ServletFileUpload(factory);
               List<Object> items = null;
               try {   items = upload.parseRequest(request); }
***warning***

--Second: Type safety: Unchecked cast from Object to
HashMap<Object,Object>
Code:
               XmlRpcClient Cliente = new XmlRpcClient();
               HashMap<Object, Object> hash = new HashMap<Object,
Object>();
               try {   hash = (HashMap<Object, Object>) Cliente.execute
("describeResource", Parametros);}        ***warning***

Any idea?
Thanks for any help.

--~--~---------~--~----~------------~-------~--~----~ You received this
message because you are subs...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to