ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrique Ferreyra <eferre...@gmail.com>
Subject Warnings at queryForList
Date Fri, 07 Apr 2006 11:18:31 GMT
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


Mime
View raw message