Minor harmless refactoring

- change comments
- drop unused variables
- add serialVersionUID
This commit is contained in:
Carlos Ruiz 2009-02-07 13:34:20 +00:00
parent 68bad5a176
commit 6567ba2c52
1 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution * * Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it * * This program is free software; you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published * * under the terms version 2 of the GNU General Public License as published *
@ -34,6 +34,12 @@ import org.compiere.util.DB;
*/ */
public class MBPartnerLocation extends X_C_BPartner_Location public class MBPartnerLocation extends X_C_BPartner_Location
{ {
/**
*
*/
private static final long serialVersionUID = 2563622950216844404L;
/** /**
* Get Locations for BPartner * Get Locations for BPartner
* @param ctx context * @param ctx context
@ -89,7 +95,6 @@ public class MBPartnerLocation extends X_C_BPartner_Location
setIsPayFrom (true); setIsPayFrom (true);
setIsBillTo (true); setIsBillTo (true);
} }
this.trxName = trxName;
} // MBPartner_Location } // MBPartner_Location
/** /**
@ -110,11 +115,9 @@ public class MBPartnerLocation extends X_C_BPartner_Location
* @param rs current row of result set to be loaded * @param rs current row of result set to be loaded
* @param trxName transaction * @param trxName transaction
*/ */
private String trxName = null;
public MBPartnerLocation (Properties ctx, ResultSet rs, String trxName) public MBPartnerLocation (Properties ctx, ResultSet rs, String trxName)
{ {
super(ctx, rs, trxName); super(ctx, rs, trxName);
this.trxName = trxName;
} // MBPartner_Location } // MBPartner_Location
/** Cached Location */ /** Cached Location */