ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meindert" <meind...@pastelebusiness.com>
Subject RE: Warnings at queryForList
Date Fri, 07 Apr 2006 11:34:55 GMT
Am using netBeans 5.0 and removed in 'Additional Compiler Options' the
option; -Xlint 

This field can be found under Project Properties=>Build=>Compiling

MEINDERT 
-----Original Message-----
From: Enrique Ferreyra [mailto:eferreyra@gmail.com] 
Sent: 07 April 2006 01:19 PM
To: user-java@ibatis.apache.org
Subject: Warnings at queryForList

Maybe this is a more java laguage question than ibatis, but someone can 
tell me how to avoid this warnings ? Not suppressing them, doing the 
things fine.

C:\svnjava\ccem-base\src\com\ccem\megatone\base\LegajoPick.java:144: 
warning: [unchecked] unchecked cast
found   : java.util.List
required: java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
                items = (List<Map<String, Object>>) 
DefaultProfile.getSqlMap().queryForList("pick-legajo", parametrosSqlMap);

C:\svnjava\ccem-base\src\com\ccem\megatone\stock\DepositoPick.java:147: 
warning: [unchecked] unchecked cast
found   : java.util.List
required: java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
                items = (List<Map<String, Object>>) 
DefaultProfile.getSqlMap().queryForList("pick-deposito", parametrosSqlMap);

C:\svnjava\ccem-base\src\com\ccem\megatone\stock\ServicePick.java:145: 
warning: [unchecked] unchecked cast
found   : java.util.List
required: java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
                items = (List<Map<String, Object>>) 
DefaultProfile.getSqlMap().queryForList("pick-service", parametrosSqlMap);
3 warnings

Thanks

-- 
  A.U.S. Enrique Ferreyra
    Centro de Cómputos
 Red Megatone - Red Confina

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.5/303 - Release Date: 06/04/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.5/303 - Release Date: 06/04/2006
 


Mime
View raw message