Delete unnecessary code

Organize imports
Proper indentation
This commit is contained in:
Carlos Ruiz 2008-11-17 16:01:43 +00:00
parent 8b7c179551
commit 6c84b156fe
1 changed files with 14 additions and 33 deletions

View File

@ -15,18 +15,16 @@
*****************************************************************************/ *****************************************************************************/
package org.eevolution.model; package org.eevolution.model;
import java.math.*; import java.sql.ResultSet;
import java.sql.*; import java.util.Properties;
import java.util.*;
import java.util.logging.*; import org.compiere.model.X_M_ForecastLine;
import org.compiere.model.*;
import org.compiere.util.*;
/** /**
* Forcast Line Model * Forecast Line Model
* *
* @author Victor Perez www.e-evolution.com * @author Victor Perez www.e-evolution.com
* @version $Id: MForcastLine.java,v 1.11 2005/05/17 05:29:52 vpj-cd Exp $ * @version $Id: MForecastLine.java,v 1.11 2005/05/17 05:29:52 vpj-cd Exp $
*/ */
public class MForecastLine extends X_M_ForecastLine public class MForecastLine extends X_M_ForecastLine
{ {
@ -38,11 +36,7 @@ public class MForecastLine extends X_M_ForecastLine
public MForecastLine (Properties ctx, int M_ForecastLine_ID, String trxName) public MForecastLine (Properties ctx, int M_ForecastLine_ID, String trxName)
{ {
super (ctx, M_ForecastLine_ID, trxName); super (ctx, M_ForecastLine_ID, trxName);
if (M_ForecastLine_ID == 0) } // MForecastLine
{
}
} // MForcastLine
/** /**
* Load Constructor * Load Constructor
@ -54,19 +48,6 @@ public class MForecastLine extends X_M_ForecastLine
super(ctx, rs, trxName); super(ctx, rs, trxName);
} // MRequisitionLine } // MRequisitionLine
/**************************************************************************
* Before Save
* @param newRecord new
* @return true
*/
protected boolean beforeSave (boolean newRecord)
{
return true;
} // beforeSave
/** /**
* After Save. * After Save.
* Update Total on Header * Update Total on Header
@ -77,9 +58,9 @@ public class MForecastLine extends X_M_ForecastLine
{ {
if (!success) if (!success)
return success; return success;
//begin e-evolution vpj-cd 10/30/2004 //begin e-evolution vpj-cd 10/30/2004
MPPMRP.M_ForecastLine(this,false); MPPMRP.M_ForecastLine(this,false);
//end e-evolution vpj-cd 10/30/2004 //end e-evolution vpj-cd 10/30/2004
return true; return true;
} // afterSave } // afterSave
@ -94,10 +75,10 @@ public class MForecastLine extends X_M_ForecastLine
{ {
if (!success) if (!success)
return success; return success;
//begin e-evolution vpj-cd 10/30/2004 //begin e-evolution vpj-cd 10/30/2004
MPPMRP.M_ForecastLine(this,true); MPPMRP.M_ForecastLine(this,true);
//end e-evolution vpj-cd 10/30/2004 //end e-evolution vpj-cd 10/30/2004
return true; return true;
} // afterDelete } // afterDelete
} // MForcastLine } // MForecastLine