BF [ 2739889 ] Remove unnecessary suppress warnings
This commit is contained in:
parent
0f1936d585
commit
12d56f65ab
|
@ -119,7 +119,6 @@ public class XLookup extends Lookup
|
||||||
* @param temporary force load for temporary display
|
* @param temporary force load for temporary display
|
||||||
* @return list of data
|
* @return list of data
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public ArrayList<Object> getData (boolean mandatory,
|
public ArrayList<Object> getData (boolean mandatory,
|
||||||
boolean onlyValidated, boolean onlyActive, boolean temporary)
|
boolean onlyValidated, boolean onlyActive, boolean temporary)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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'";
|
String whereClause = "AD_Client_ID=" + Env.getAD_Client_ID(ctx) + " and IsActive='Y'";
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,6 @@ public class SessionStorage
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings({"unchecked","unchecked"})
|
|
||||||
public static void putOrderFiltering(Properties ctx, HttpServletRequest request, FilterBean filterBean)
|
public static void putOrderFiltering(Properties ctx, HttpServletRequest request, FilterBean filterBean)
|
||||||
{
|
{
|
||||||
ArrayList bpList = (ArrayList) filterBean.getBpList();
|
ArrayList bpList = (ArrayList) filterBean.getBpList();
|
||||||
|
|
|
@ -88,8 +88,7 @@ public class SystemObjects
|
||||||
return purchase;
|
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);
|
MPriceListVersion priceListVersionPurchase = new MPriceListVersion(ctx, 0, null);
|
||||||
priceListVersionPurchase.setName(name);
|
priceListVersionPurchase.setName(name);
|
||||||
|
|
|
@ -39,7 +39,6 @@ public class MMAttachment extends MAttachment
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
|
||||||
private MMAttachment(Properties ctx, int AD_Table_ID, int Record_ID, String trxName)
|
private MMAttachment(Properties ctx, int AD_Table_ID, int Record_ID, String trxName)
|
||||||
{
|
{
|
||||||
super(ctx, AD_Table_ID, Record_ID, trxName);
|
super(ctx, AD_Table_ID, Record_ID, trxName);
|
||||||
|
|
|
@ -145,7 +145,7 @@ public class ProcessDialog extends Window implements EventListener//, ASyncProce
|
||||||
private Properties m_ctx;
|
private Properties m_ctx;
|
||||||
private int m_AD_Process_ID;
|
private int m_AD_Process_ID;
|
||||||
private String m_Name = null;
|
private String m_Name = null;
|
||||||
@SuppressWarnings("unused")
|
|
||||||
private boolean m_IsReport = false;
|
private boolean m_IsReport = false;
|
||||||
private int[] m_ids = null;
|
private int[] m_ids = null;
|
||||||
private StringBuffer m_messageText = new StringBuffer();
|
private StringBuffer m_messageText = new StringBuffer();
|
||||||
|
|
Loading…
Reference in New Issue