IDEMPIERE-455 Discover and fix FindBugs problems / Pattern SS_SHOULD_BE_STATIC

This commit is contained in:
Richard Morales 2012-12-11 19:21:13 -05:00
parent d42b5a12c3
commit 2035b8c7d3
5 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ public class Doc_AssetReval extends Doc
{
private final String POSTINGTYPE_Actual = "A";
private static final String POSTINGTYPE_Actual = "A";
public Doc_AssetReval (MAcctSchema as, ResultSet rs, String trxName)
{
super(as, MAssetReval.class, rs, MDocType.DOCBASETYPE_GLJournal, trxName);

View File

@ -41,7 +41,7 @@ public class AdElementHandler extends AbstractElementHandler {
private List<Integer> processedElements = new ArrayList<Integer>();
private final String AD_ELEMENT = "AD_Element";
private static final String AD_ELEMENT = "AD_Element";
public void startElement(PIPOContext ctx, Element element)

View File

@ -43,7 +43,7 @@ import org.compiere.util.TimeUtil;
*
*/
public abstract class PaymentFormCash extends PaymentForm {
private final String PAYMENTRULE = MInvoice.PAYMENTRULE_Cash;
private static final String PAYMENTRULE = MInvoice.PAYMENTRULE_Cash;
/** Start Payment */
public int m_C_Payment_ID = 0;

View File

@ -39,7 +39,7 @@ import org.compiere.util.Msg;
*
*/
public abstract class PaymentFormCheck extends PaymentForm {
private final String PAYMENTRULE = MInvoice.PAYMENTRULE_Check;
private static final String PAYMENTRULE = MInvoice.PAYMENTRULE_Check;
/** Start Payment */
public int m_C_Payment_ID = 0;

View File

@ -36,7 +36,7 @@ import org.compiere.util.ValueNamePair;
*
*/
public abstract class PaymentFormCreditCard extends PaymentForm {
private final String PAYMENTRULE = MInvoice.PAYMENTRULE_CreditCard;
private static final String PAYMENTRULE = MInvoice.PAYMENTRULE_CreditCard;
/** Start Payment */
public int m_C_Payment_ID = 0;