unnecessary SuppressWarnings

This commit is contained in:
Carlos Ruiz 2012-12-12 18:11:53 -05:00
parent 9e77388cf4
commit 8f13ed795e
9 changed files with 0 additions and 11 deletions

View File

@ -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();

View File

@ -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)

View File

@ -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)

View File

@ -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);
} }

View File

@ -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)

View File

@ -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;

View File

@ -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()
{ {

View File

@ -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);

View File

@ -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;
/** /**