IDEMPIERE-455 Discover and fix FindBugs problems / Pattern NM_VERY_CONFUSING
This commit is contained in:
parent
ad39b3d935
commit
addbee68c4
|
@ -28,7 +28,10 @@ import org.compiere.util.CLogger;
|
||||||
*/
|
*/
|
||||||
public class MAssetChange extends X_A_Asset_Change
|
public class MAssetChange extends X_A_Asset_Change
|
||||||
{
|
{
|
||||||
private static final long serialVersionUID = 1L;
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 4083373951793617528L;
|
||||||
|
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger(MAssetChange.class);
|
private static CLogger s_log = CLogger.getCLogger(MAssetChange.class);
|
||||||
|
@ -67,11 +70,6 @@ public class MAssetChange extends X_A_Asset_Change
|
||||||
return true;
|
return true;
|
||||||
} // beforeSave
|
} // beforeSave
|
||||||
|
|
||||||
/** ARHIPAC: TEO: BEGIN ------------------------------------------------------------------ */
|
|
||||||
public void setSerno(String value) { setSerNo(value); }
|
|
||||||
public void setVersionno(String value) { setVersionNo(value); }
|
|
||||||
public void setAd_User_ID(int value) { setAD_User_ID(value); }
|
|
||||||
|
|
||||||
public static MAssetChange createAddition(MAssetAddition assetAdd, MDepreciationWorkfile assetwk) {
|
public static MAssetChange createAddition(MAssetAddition assetAdd, MDepreciationWorkfile assetwk) {
|
||||||
MAssetChange change = new MAssetChange (assetAdd.getCtx(), 0, assetAdd.get_TrxName());
|
MAssetChange change = new MAssetChange (assetAdd.getCtx(), 0, assetAdd.get_TrxName());
|
||||||
change.setAD_Org_ID(assetAdd.getAD_Org_ID()); //@win added
|
change.setAD_Org_ID(assetAdd.getAD_Org_ID()); //@win added
|
||||||
|
|
Loading…
Reference in New Issue