unnecessary SuppressWarnings
This commit is contained in:
parent
9e77388cf4
commit
8f13ed795e
|
@ -107,7 +107,6 @@ public class RfQResponseRank extends SvrProcess
|
||||||
* @param rfq RfQ
|
* @param rfq RfQ
|
||||||
* @param responses responses
|
* @param responses responses
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
private void rankLines (MRfQ rfq, MRfQResponse[] responses)
|
private void rankLines (MRfQ rfq, MRfQResponse[] responses)
|
||||||
{
|
{
|
||||||
MRfQLine[] rfqLines = rfq.getLines();
|
MRfQLine[] rfqLines = rfq.getLines();
|
||||||
|
|
|
@ -90,7 +90,6 @@ public final class MCountry extends X_C_Country
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @return MCountry Array
|
* @return MCountry Array
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public static MCountry[] getCountries(Properties ctx)
|
public static MCountry[] getCountries(Properties ctx)
|
||||||
{
|
{
|
||||||
if (s_countries == null || s_countries.size() == 0)
|
if (s_countries == null || s_countries.size() == 0)
|
||||||
|
|
|
@ -118,7 +118,6 @@ public final class MRegion extends X_C_Region
|
||||||
* @param ctx context
|
* @param ctx context
|
||||||
* @return MCountry Array
|
* @return MCountry Array
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public static MRegion[] getRegions(Properties ctx)
|
public static MRegion[] getRegions(Properties ctx)
|
||||||
{
|
{
|
||||||
if (s_regions == null || s_regions.size() == 0)
|
if (s_regions == null || s_regions.size() == 0)
|
||||||
|
@ -135,7 +134,6 @@ public final class MRegion extends X_C_Region
|
||||||
* @param C_Country_ID country
|
* @param C_Country_ID country
|
||||||
* @return MRegion Array
|
* @return MRegion Array
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public static MRegion[] getRegions (Properties ctx, int C_Country_ID)
|
public static MRegion[] getRegions (Properties ctx, int C_Country_ID)
|
||||||
{
|
{
|
||||||
if (s_regions == null || s_regions.size() == 0)
|
if (s_regions == null || s_regions.size() == 0)
|
||||||
|
|
|
@ -884,7 +884,6 @@ public class ModelValidationEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
//osgi event handlers
|
//osgi event handlers
|
||||||
@SuppressWarnings("rawtypes")
|
|
||||||
Event event = new Event(IEventTopics.PREF_AFTER_LOAD, (Map<String, ?>)null);
|
Event event = new Event(IEventTopics.PREF_AFTER_LOAD, (Map<String, ?>)null);
|
||||||
EventManager.getInstance().sendEvent(event);
|
EventManager.getInstance().sendEvent(event);
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,6 @@ public class ScheduleUtil
|
||||||
* @param trxName transaction
|
* @param trxName transaction
|
||||||
* @return Array of existing Assignments or null - if free
|
* @return Array of existing Assignments or null - if free
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public MAssignmentSlot[] getAssignmentSlots (int S_Resource_ID,
|
public MAssignmentSlot[] getAssignmentSlots (int S_Resource_ID,
|
||||||
Timestamp start_Date, Timestamp end_Date,
|
Timestamp start_Date, Timestamp end_Date,
|
||||||
BigDecimal qty, boolean getAll, String trxName)
|
BigDecimal qty, boolean getAll, String trxName)
|
||||||
|
|
|
@ -218,7 +218,6 @@ public class CacheMgt
|
||||||
* @param Record_ID record if applicable or 0 for all
|
* @param Record_ID record if applicable or 0 for all
|
||||||
* @return number of deleted cache entries
|
* @return number of deleted cache entries
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
protected int resetLocalCache (String tableName, int Record_ID)
|
protected int resetLocalCache (String tableName, int Record_ID)
|
||||||
{
|
{
|
||||||
if (tableName == null)
|
if (tableName == null)
|
||||||
|
@ -253,7 +252,6 @@ public class CacheMgt
|
||||||
* Total Cached Elements
|
* Total Cached Elements
|
||||||
* @return count
|
* @return count
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public int getElementCount()
|
public int getElementCount()
|
||||||
{
|
{
|
||||||
int total = 0;
|
int total = 0;
|
||||||
|
|
|
@ -83,7 +83,6 @@ public class ReplicationProcessor extends AdempiereServer {
|
||||||
m_client = MClient.get(mImportProcessor.getCtx(), mImportProcessor.getAD_Client_ID());
|
m_client = MClient.get(mImportProcessor.getCtx(), mImportProcessor.getAD_Client_ID());
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
@Override
|
@Override
|
||||||
protected void doWork()
|
protected void doWork()
|
||||||
{
|
{
|
||||||
|
|
|
@ -104,7 +104,6 @@ public class ExportHelper {
|
||||||
* Process - Generate Export Format
|
* Process - Generate Export Format
|
||||||
* @return info
|
* @return info
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public String exportRecord (PO po, Integer ReplicationMode , String ReplicationType, Integer ReplicationEvent) throws Exception
|
public String exportRecord (PO po, Integer ReplicationMode , String ReplicationType, Integer ReplicationEvent) throws Exception
|
||||||
{
|
{
|
||||||
MClient client = MClient.get (po.getCtx(), m_AD_Client_ID);
|
MClient client = MClient.get (po.getCtx(), m_AD_Client_ID);
|
||||||
|
|
|
@ -48,7 +48,6 @@ public class WStringEditor extends WEditor implements ContextMenuListener
|
||||||
|
|
||||||
private String oldValue;
|
private String oldValue;
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
|
||||||
private boolean tableEditor = false;
|
private boolean tableEditor = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue