BF [ 2739889 ] Remove unnecessary suppress warnings

This commit is contained in:
mjudd 2009-04-07 06:49:10 +00:00
parent 0f1936d585
commit 12d56f65ab
6 changed files with 3 additions and 8 deletions

View File

@ -119,7 +119,6 @@ public class XLookup extends Lookup
* @param temporary force load for temporary display
* @return list of data
*/
@SuppressWarnings("unchecked")
public ArrayList<Object> getData (boolean mandatory,
boolean onlyValidated, boolean onlyActive, boolean temporary)
{

View File

@ -270,8 +270,7 @@ public class AttributeValuesManager
}
}
@SuppressWarnings("unchecked")
public static ArrayList<KeyNamePair> getAttributes(Properties ctx) throws OperationException
public static ArrayList<KeyNamePair> getAttributes(Properties ctx) throws OperationException
{
String whereClause = "AD_Client_ID=" + Env.getAD_Client_ID(ctx) + " and IsActive='Y'";

View File

@ -142,7 +142,6 @@ public class SessionStorage
}
@SuppressWarnings({"unchecked","unchecked"})
public static void putOrderFiltering(Properties ctx, HttpServletRequest request, FilterBean filterBean)
{
ArrayList bpList = (ArrayList) filterBean.getBpList();

View File

@ -88,8 +88,7 @@ public class SystemObjects
return purchase;
}
@SuppressWarnings("deprecation")
public static MPriceListVersion getPriceListVersion(Properties ctx, String name)
public static MPriceListVersion getPriceListVersion(Properties ctx, String name)
{
MPriceListVersion priceListVersionPurchase = new MPriceListVersion(ctx, 0, null);
priceListVersionPurchase.setName(name);

View File

@ -39,7 +39,6 @@ public class MMAttachment extends MAttachment
*/
private static final long serialVersionUID = 1L;
@SuppressWarnings("unused")
private MMAttachment(Properties ctx, int AD_Table_ID, int Record_ID, String trxName)
{
super(ctx, AD_Table_ID, Record_ID, trxName);

View File

@ -145,7 +145,7 @@ public class ProcessDialog extends Window implements EventListener//, ASyncProce
private Properties m_ctx;
private int m_AD_Process_ID;
private String m_Name = null;
@SuppressWarnings("unused")
private boolean m_IsReport = false;
private int[] m_ids = null;
private StringBuffer m_messageText = new StringBuffer();