IDEMPIERE-5838 Fix various typos (#2188)

* Fix various typos
Fixes user-facing and non-user-facing typos. Found via `codespell -q 3 -S "*.map,./migration,./migration-historic"`
* Added requested revisions
* Added requested revision
* Added requested revisions
This commit is contained in:
luzpaz 2024-01-16 08:25:48 -05:00 committed by Carlos Ruiz
parent ffd5e75d82
commit a87de727af
190 changed files with 801 additions and 801 deletions

View File

@ -72,7 +72,7 @@ public class ImmediateBankTransfer extends SvrProcess
private String p_Name = ""; // Name private String p_Name = ""; // Name
private String p_Description= ""; // Description private String p_Description= ""; // Description
private int p_C_CashBook_ID = 0; // CashBook to be used as bridge private int p_C_CashBook_ID = 0; // CashBook to be used as bridge
private BigDecimal p_Amount = Env.ZERO; // Amount to be transfered between the accounts private BigDecimal p_Amount = Env.ZERO; // Amount to be transferred between the accounts
private int p_From_C_BankAccount_ID = 0; // Bank Account From private int p_From_C_BankAccount_ID = 0; // Bank Account From
private int p_To_C_BankAccount_ID= 0; // Bank Account To private int p_To_C_BankAccount_ID= 0; // Bank Account To
private Timestamp p_StatementDate = null; // Date Statement private Timestamp p_StatementDate = null; // Date Statement

View File

@ -259,7 +259,7 @@ public class PrepareMigrationScripts extends SvrProcess {
} }
} }
return "Sucess"; return "Success";
} }
@Override @Override

View File

@ -718,7 +718,7 @@ public class AllocationAuto extends SvrProcess
/********************************************************************************************** /**********************************************************************************************
* Create Allocation allocation * Create Allocation allocation
* @param C_Currency_ID currency * @param C_Currency_ID currency
* @param description decription * @param description description
* @param Amount amount * @param Amount amount
* @param DiscountAmt discount * @param DiscountAmt discount
* @param WriteOffAmt write off * @param WriteOffAmt write off

View File

@ -369,7 +369,7 @@ public class InventoryCountCreate extends SvrProcess
* @param productCategoryId * @param productCategoryId
* @param categories * @param categories
* @param loopIndicatorId * @param loopIndicatorId
* @return comma seperated list of category ids * @return comma separated list of category ids
* @throws AdempiereSystemError if a loop is detected * @throws AdempiereSystemError if a loop is detected
*/ */
private String getSubCategoriesString(int productCategoryId, Vector<SimpleTreeNode> categories, int loopIndicatorId) throws AdempiereSystemError { private String getSubCategoriesString(int productCategoryId, Vector<SimpleTreeNode> categories, int loopIndicatorId) throws AdempiereSystemError {

View File

@ -194,7 +194,7 @@ public class ImportCSVProcess extends SvrProcess implements DataStatusListener {
log.warning(msg); log.warning(msg);
} }
// Refresh the list on dependant fields // Refresh the list on dependent fields
for (GridField dependentField : l_gridTab.getDependantFields(mField.getColumnName())) for (GridField dependentField : l_gridTab.getDependantFields(mField.getColumnName()))
{ {
// if the field has a lookup // if the field has a lookup

View File

@ -29,7 +29,7 @@ public interface IBankStatementLoaderFactory {
* This class will be implemented in OSGi plugins. Every plugin that * This class will be implemented in OSGi plugins. Every plugin that
* provides this service may or may not provide an BankStatementLoader * provides this service may or may not provide an BankStatementLoader
* depending on the given classname. The classname can be given by the user * depending on the given classname. The classname can be given by the user
* in the "Bank" window in the "Bank Satement Loader" tab. By convention * in the "Bank" window in the "Bank Statement Loader" tab. By convention
* this classname is the fully qualified classname of the Loader class you * this classname is the fully qualified classname of the Loader class you
* want to use. * want to use.
* *

View File

@ -141,7 +141,7 @@ public class RequestEventHandler extends AbstractEventHandler implements Managed
oldSalesRep_ID = ((Integer)oo).intValue(); oldSalesRep_ID = ((Integer)oo).intValue();
if (oldSalesRep_ID != 0) if (oldSalesRep_ID != 0)
{ {
// RequestActionTransfer - Request {0} was transfered by {1} from {2} to {3} // RequestActionTransfer - Request {0} was transferred by {1} from {2} to {3}
Object[] args = new Object[] {r.getDocumentNo(), Object[] args = new Object[] {r.getDocumentNo(),
MUser.getNameOfUser(AD_User_ID), MUser.getNameOfUser(AD_User_ID),
MUser.getNameOfUser(oldSalesRep_ID), MUser.getNameOfUser(oldSalesRep_ID),

View File

@ -230,7 +230,7 @@ public class GridTabCSVImporter implements IGridTabImporter
rowsTmpResult.add(rawLine); rowsTmpResult.add(rawLine);
continue; continue;
}else if(isMasterok && isDetail && !isDetailok){ }else if(isMasterok && isDetail && !isDetailok){
rawLine = rawLine + delimiter + quoteChar + "Record not proccesed due to detail record failure" + quoteChar + "\n"; rawLine = rawLine + delimiter + quoteChar + "Record not processed due to detail record failure" + quoteChar + "\n";
rowsTmpResult.add(rawLine); rowsTmpResult.add(rawLine);
continue; continue;
} }
@ -826,7 +826,7 @@ public class GridTabCSVImporter implements IGridTabImporter
wfProcess.setTransactionName(document.get_TrxName()); wfProcess.setTransactionName(document.get_TrxName());
MWFProcess wdPro = ProcessUtil.startWorkFlow(Env.getCtx(),wfProcess, AD_Workflow_ID); MWFProcess wdPro = ProcessUtil.startWorkFlow(Env.getCtx(),wfProcess, AD_Workflow_ID);
if(wdPro == null) if(wdPro == null)
return "Document action could not be proccesed"; return "Document action could not be processed";
else if (wfProcess.isError()) else if (wfProcess.isError())
return "Document action error: "+wfProcess.getSummary(); return "Document action error: "+wfProcess.getSummary();
else else

View File

@ -18,7 +18,7 @@ import org.compiere.util.DB;
import org.compiere.util.Env; import org.compiere.util.Env;
/** /**
* Re-create storage reservation records (M_StorageReservation) if there are storage record with invalid reserverd/ordered qty.<br/> * Re-create storage reservation records (M_StorageReservation) if there are storage record with invalid reserved/ordered qty.<br/>
* Precautions: current code validate reservation makes via C_OrderLine only. * Precautions: current code validate reservation makes via C_OrderLine only.
*/ */
@org.adempiere.base.annotation.Process @org.adempiere.base.annotation.Process

View File

@ -258,7 +258,7 @@ public abstract class Convert_SQL92 extends Convert {
.append(" ON (").append(second.getCondition()); .append(" ON (").append(second.getCondition());
joins.remove(j); // remove from join list joins.remove(j); // remove from join list
fromAlias.remove(second.getJoinAlias()); // remove from table list fromAlias.remove(second.getJoinAlias()); // remove from table list
// additional join colums would come here // additional join columns would come here
newFrom.append(")"); // close ON newFrom.append(")"); // close ON
//---- //----
for (int k = i+1; k < joins.size(); k++) for (int k = i+1; k < joins.size(); k++)
@ -281,7 +281,7 @@ public abstract class Convert_SQL92 extends Convert {
.append(" ON (").append(third.getCondition()); .append(" ON (").append(third.getCondition());
joins.remove(k); // remove from join list joins.remove(k); // remove from join list
fromAlias.remove(third.getJoinAlias()); // remove from table list fromAlias.remove(third.getJoinAlias()); // remove from table list
// additional join colums would come here // additional join columns would come here
newFrom.append(")"); // close ON newFrom.append(")"); // close ON
} }
else if (trace) else if (trace)

View File

@ -291,14 +291,14 @@ public abstract class OFXBankStatementHandler extends DefaultHandler
} //isValid } //isValid
/** /**
* Check wether the import was succesfull * Check whether the import was successful
* @return true if all statement lines have been imported succesfully * @return true if all statement lines have been imported successfully
*/ */
public boolean importSuccessfull() public boolean importSuccessfull()
{ {
/* /*
* Currently there are no checks after the statement lines are read. * Currently there are no checks after the statement lines are read.
* Once all lines are read correctly a successfull import is assumed. * Once all lines are read correctly a successful import is assumed.
*/ */
return m_success; return m_success;
} // importSuccessfull } // importSuccessfull

View File

@ -418,7 +418,7 @@ public class AccessSqlParser
} // TableInfo } // TableInfo
/** /**
* Short Constuctor - no synonym * Short Constructor - no synonym
* @param tableName table * @param tableName table
*/ */
public TableInfo (String tableName) public TableInfo (String tableName)

View File

@ -91,7 +91,7 @@ public class ArchiveFileSystem implements IArchiveStore {
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath); if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
if(filePath!=null){ if(filePath!=null){
filePath = filePath.replaceFirst(ARCHIVE_FOLDER_PLACEHOLDER, archivePathRoot.replaceAll("\\\\","\\\\\\\\")); filePath = filePath.replaceFirst(ARCHIVE_FOLDER_PLACEHOLDER, archivePathRoot.replaceAll("\\\\","\\\\\\\\"));
//just to be shure... //just to be sure...
String replaceSeparator = File.separator; String replaceSeparator = File.separator;
if(!replaceSeparator.equals("/")){ if(!replaceSeparator.equals("/")){
replaceSeparator = "\\\\"; replaceSeparator = "\\\\";

View File

@ -211,7 +211,7 @@ public class AttachmentFileSystem implements IAttachmentStore {
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath); if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
if(filePath!=null){ if(filePath!=null){
filePath = filePath.replaceFirst(attach.ATTACHMENT_FOLDER_PLACEHOLDER, attachmentPathRoot.replaceAll("\\\\","\\\\\\\\")); filePath = filePath.replaceFirst(attach.ATTACHMENT_FOLDER_PLACEHOLDER, attachmentPathRoot.replaceAll("\\\\","\\\\\\\\"));
//just to be shure... //just to be sure...
String replaceSeparator = File.separator; String replaceSeparator = File.separator;
if(!replaceSeparator.equals("/")){ if(!replaceSeparator.equals("/")){
replaceSeparator = "\\\\"; replaceSeparator = "\\\\";

View File

@ -2056,7 +2056,7 @@ public class GridField
* Set Value to null. * Set Value to null.
* <p> * <p>
* Do update context - called from GridTab.setCurrentRow. * Do update context - called from GridTab.setCurrentRow.
* Send Bean PropertyChange event if there is a change (i.e curent value is not null). * Send Bean PropertyChange event if there is a change (i.e current value is not null).
*/ */
public void setValueAndUpdateContext () public void setValueAndUpdateContext ()
{ {

View File

@ -633,7 +633,7 @@ public class GridFieldVO implements Serializable, Cloneable
public int displayType = 0; public int displayType = 0;
/** Table ID */ /** Table ID */
public int AD_Table_ID = 0; public int AD_Table_ID = 0;
/** Clumn ID */ /** Column ID */
public int AD_Column_ID = 0; public int AD_Column_ID = 0;
/** Display Length */ /** Display Length */
public int DisplayLength = 0; public int DisplayLength = 0;
@ -647,7 +647,7 @@ public class GridFieldVO implements Serializable, Cloneable
public int SeqNo = 0; public int SeqNo = 0;
/** Grid Display sequence */ /** Grid Display sequence */
public int SeqNoGrid = 0; public int SeqNoGrid = 0;
/** Dislay Logic, never set null for it */ /** Display Logic, never set null for it */
public String DisplayLogic = ""; public String DisplayLogic = "";
/** Default Value, never set null for it */ /** Default Value, never set null for it */
public String DefaultValue = ""; public String DefaultValue = "";

View File

@ -849,7 +849,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
// e.g. Column=UPPER(Name), Key=AD_Element_ID, Query=UPPER(AD_Element.Name) LIKE '%CUSTOMER%' // e.g. Column=UPPER(Name), Key=AD_Element_ID, Query=UPPER(AD_Element.Name) LIKE '%CUSTOMER%'
if (tableName == null) if (tableName == null)
{ {
if (log.isLoggable(Level.INFO)) log.info ("Not successfull - Column=" if (log.isLoggable(Level.INFO)) log.info ("Not successful - Column="
+ colName + ", Key=" + tabKeyColumn + colName + ", Key=" + tabKeyColumn
+ ", Query=" + query); + ", Query=" + query);
return query.getWhereClause(true); return query.getWhereClause(true);

View File

@ -2157,7 +2157,7 @@ public class GridTable extends AbstractTableModel
// Tab R/O // Tab R/O
if (m_readOnly) if (m_readOnly)
{ {
fireDataStatusEEvent("AccessCannotDelete", "", true); // previleges fireDataStatusEEvent("AccessCannotDelete", "", true); // privileges
return false; return false;
} }

View File

@ -322,7 +322,7 @@ public class GridWindowVO implements Serializable
public String AD_Window_UU = ""; public String AD_Window_UU = "";
/** Name */ /** Name */
public String Name = ""; public String Name = "";
/** Desription */ /** Description */
public String Description = ""; public String Description = "";
/** Help */ /** Help */
public String Help = ""; public String Help = "";

View File

@ -133,12 +133,12 @@ public interface I_U_POSTerminal
public static final String COLUMNNAME_CashBookTransferType = "CashBookTransferType"; public static final String COLUMNNAME_CashBookTransferType = "CashBookTransferType";
/** Set Cash Book Transfer Type. /** Set Cash Book Transfer Type.
* Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book * Where the money in the cash book should be transferred to. Either a Bank Account or another Cash Book
*/ */
public void setCashBookTransferType (String CashBookTransferType); public void setCashBookTransferType (String CashBookTransferType);
/** Get Cash Book Transfer Type. /** Get Cash Book Transfer Type.
* Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book * Where the money in the cash book should be transferred to. Either a Bank Account or another Cash Book
*/ */
public String getCashBookTransferType(); public String getCashBookTransferType();

View File

@ -88,7 +88,7 @@ public class ImageFileStorageImpl implements IImageStore {
if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath); if (log.isLoggable(Level.FINE)) log.fine("filePath: " + filePath);
if(filePath!=null){ if(filePath!=null){
filePath = filePath.replaceFirst(IMAGE_FOLDER_PLACEHOLDER, imagePathRoot.replaceAll("\\\\","\\\\\\\\")); filePath = filePath.replaceFirst(IMAGE_FOLDER_PLACEHOLDER, imagePathRoot.replaceAll("\\\\","\\\\\\\\"));
//just to be shure... //just to be sure...
String replaceSeparator = File.separator; String replaceSeparator = File.separator;
if(!replaceSeparator.equals("/")){ if(!replaceSeparator.equals("/")){
replaceSeparator = "\\\\"; replaceSeparator = "\\\\";

View File

@ -295,7 +295,7 @@ public class MAcctSchemaElement extends X_C_AcctSchema_Element implements Immuta
/** /**
* Set value for Account element type * Set value for Account element type
* @param SeqNo squence * @param SeqNo sequence
* @param Name name * @param Name name
* @param C_Element_ID element * @param C_Element_ID element
* @param C_ElementValue_ID element value * @param C_ElementValue_ID element value

View File

@ -48,7 +48,7 @@ public class MAlertRule extends X_AD_AlertRule
} }
/** /**
* Standatd Constructor * Standard Constructor
* @param ctx context * @param ctx context
* @param AD_AlertRule_ID id * @param AD_AlertRule_ID id
* @param trxName transaction * @param trxName transaction

View File

@ -1213,7 +1213,7 @@ public class MAssetAddition extends X_A_Asset_Addition
} }
else else
{ {
// Succesfull creation of Asset // Successful creation of Asset
if (cnt == 0) if (cnt == 0)
{ {
setA_CreateAsset(true); setA_CreateAsset(true);

View File

@ -58,7 +58,7 @@ public class MAttributeUse extends X_M_AttributeUse
} // MAttributeUse } // MAttributeUse
/** /**
* Load Cosntructor * Load Constructor
* @param ctx context * @param ctx context
* @param rs result set * @param rs result set
* @param trxName transaction * @param trxName transaction

View File

@ -81,7 +81,7 @@ public class MCashLine extends X_C_CashLine
} }
/** /**
* Load Cosntructor * Load Constructor
* @param ctx context * @param ctx context
* @param rs result set * @param rs result set
* @param trxName transaction * @param trxName transaction
@ -92,7 +92,7 @@ public class MCashLine extends X_C_CashLine
} // MCashLine } // MCashLine
/** /**
* Parent Cosntructor * Parent Constructor
* @param cash parent * @param cash parent
*/ */
public MCashLine (MCash cash) public MCashLine (MCash cash)

View File

@ -1208,7 +1208,7 @@ public class MClient extends X_AD_Client implements ImmutablePOSupport
/** /**
* Get SMTP Host * Get SMTP Host
* @return SMTP or loaclhost * @return SMTP or localhost
*/ */
@Override @Override
public String getSMTPHost() { public String getSMTPHost() {

View File

@ -890,7 +890,7 @@ public class MCost extends X_M_Cost
* @param product product * @param product product
* @param M_AttributeSetInstance_ID optional asi * @param M_AttributeSetInstance_ID optional asi
* @param as acct schema * @param as acct schema
* @param AD_Org_ID optonal org * @param AD_Org_ID optional org
* @return average invoice costs or null * @return average invoice costs or null
*/ */
public static BigDecimal calculateAverageInv (MProduct product, int M_AttributeSetInstance_ID, public static BigDecimal calculateAverageInv (MProduct product, int M_AttributeSetInstance_ID,

View File

@ -403,7 +403,7 @@ public class MDepreciation extends X_A_Depreciation implements ImmutablePOSuppor
/** Linear damping coefficient for one year = 1 / total number of years */ /** Linear damping coefficient for one year = 1 / total number of years */
BigDecimal coef_sl = BigDecimal.ONE.divide(new BigDecimal(A_Life_Year), getPrecision() + 2, RoundingMode.DOWN); BigDecimal coef_sl = BigDecimal.ONE.divide(new BigDecimal(A_Life_Year), getPrecision() + 2, RoundingMode.DOWN);
/** Degressive damping coefficient for one year = one-year linear depreciation * coeficient K */ /** Degressive damping coefficient for one year = one-year linear depreciation * coefficient K */
BigDecimal coef_ad1 = coef_sl.multiply(BigDecimal.valueOf(2.0)); //added by @win BigDecimal coef_ad1 = coef_sl.multiply(BigDecimal.valueOf(2.0)); //added by @win
// logging // logging

View File

@ -28,7 +28,7 @@ import org.idempiere.cache.ImmutablePOSupport;
import org.idempiere.cache.ImmutablePOCache; import org.idempiere.cache.ImmutablePOCache;
/** /**
* Enitity Type Model * Entity Type Model
* *
* @author Jorg Janke * @author Jorg Janke
* @version $Id: MEntityType.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $ * @version $Id: MEntityType.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $

View File

@ -307,7 +307,7 @@ public class MGoal extends X_PA_Goal
/** /**
* @param ctx context * @param ctx context
* @param Name Name * @param Name Name
* @param Description Decsription * @param Description Description
* @param MeasureTarget target * @param MeasureTarget target
* @param trxName trx * @param trxName trx
*/ */

View File

@ -287,7 +287,7 @@ public class MIFixedAsset extends X_I_FixedAsset
private int m_A_Asset_Group_ID = 0; private int m_A_Asset_Group_ID = 0;
/** /**
* set defauly asset group id * set default asset group id
* @param A_Asset_Group_ID * @param A_Asset_Group_ID
*/ */
public void setDefault_Asset_Group_ID(int A_Asset_Group_ID) { public void setDefault_Asset_Group_ID(int A_Asset_Group_ID) {

View File

@ -2510,7 +2510,7 @@ public class MInOut extends X_M_InOut implements DocAction, IDocsPostProcess
counter.setDropShip_User_ID(getDropShip_User_ID()); counter.setDropShip_User_ID(getDropShip_User_ID());
} }
// Refernces (Should not be required // References (Should not be required)
counter.setSalesRep_ID(getSalesRep_ID()); counter.setSalesRep_ID(getSalesRep_ID());
counter.saveEx(get_TrxName()); counter.saveEx(get_TrxName());

View File

@ -134,7 +134,7 @@ public class MInventoryLineMA extends X_M_InventoryLineMA
} // MInventoryLineMA } // MInventoryLineMA
/** /**
* Load Cosntructor * Load Constructor
* @param ctx context * @param ctx context
* @param rs result set * @param rs result set
* @param trxName trx * @param trxName trx

View File

@ -70,7 +70,7 @@ import org.eevolution.model.MPPProductBOMLine;
* <li> FR [ 2520591 ] Support multiples calendar for Org * <li> FR [ 2520591 ] Support multiples calendar for Org
* @see https://sourceforge.net/p/adempiere/feature-requests/631/ * @see https://sourceforge.net/p/adempiere/feature-requests/631/
* Modifications: Added RMA functionality (Ashley Ramdass) * Modifications: Added RMA functionality (Ashley Ramdass)
* Modifications: Generate DocNo^ instead of using a new number whan an invoice is reversed (Diego Ruiz-globalqss) * Modifications: Generate DocNo^ instead of using a new number when an invoice is reversed (Diego Ruiz-globalqss)
*/ */
public class MInvoice extends X_C_Invoice implements DocAction, IDocsPostProcess public class MInvoice extends X_C_Invoice implements DocAction, IDocsPostProcess
{ {

View File

@ -1232,7 +1232,7 @@ public class MInvoiceLine extends X_C_InvoiceLine
MInOutLine[] lines = ship.getLines(); MInOutLine[] lines = ship.getLines();
for (int i = 0; i < lines.length; i++) for (int i = 0; i < lines.length; i++)
{ {
if (lines[i].isDescription() // decription or no product if (lines[i].isDescription() // description or no product
|| lines[i].getM_Product_ID() == 0) || lines[i].getM_Product_ID() == 0)
continue; continue;
if (lc.getM_Product_ID() == 0 // no restriction or product match if (lc.getM_Product_ID() == 0 // no restriction or product match

View File

@ -185,7 +185,7 @@ public class MJournal extends X_GL_Journal implements DocAction
/** /**
* Set Currency Info * Set Currency Info
* @param C_Currency_ID currenct * @param C_Currency_ID currency
* @param C_ConversionType_ID type * @param C_ConversionType_ID type
* @param CurrencyRate rate * @param CurrencyRate rate
*/ */

View File

@ -131,7 +131,7 @@ public class MJournalLine extends X_GL_JournalLine
/** /**
* Set Currency Info * Set Currency Info
* @param C_Currency_ID currenct * @param C_Currency_ID currency
* @param C_ConversionType_ID type * @param C_ConversionType_ID type
* @param CurrencyRate rate * @param CurrencyRate rate
*/ */

View File

@ -167,7 +167,7 @@ public class MMessage extends X_AD_Message implements ImmutablePOSupport
} // MMessage } // MMessage
/** /**
* Load Cosntructor * Load Constructor
* @param ctx context * @param ctx context
* @param rs result set * @param rs result set
* @param trxName transaction * @param trxName transaction

View File

@ -413,7 +413,7 @@ public class MPInstanceLog
/** /**
* Set AD_PInstance_Log_UU * Set AD_PInstance_Log_UU
* @return Sting AD_PInstance_Log_UU * @return String AD_PInstance_Log_UU
*/ */
public String getAD_PInstance_Log_UU() { public String getAD_PInstance_Log_UU() {
if(Util.isEmpty(m_AD_PInstance_Log_UU)) if(Util.isEmpty(m_AD_PInstance_Log_UU))

View File

@ -160,7 +160,7 @@ public class MPaySelectionCheck extends X_C_PaySelectionCheck
psl.saveEx(); psl.saveEx();
} else { } else {
// globalqss - CarlosRuiz - fix bug [ 1803054 ] Empty Remittance lines on payments // globalqss - CarlosRuiz - fix bug [ 1803054 ] Empty Remittance lines on payments
// look for existance of C_PaymentAllocate records // look for existence of C_PaymentAllocate records
// Allocate to multiple Payments based on entry // Allocate to multiple Payments based on entry
MPaymentAllocate[] pAllocs = MPaymentAllocate.get(payment); MPaymentAllocate[] pAllocs = MPaymentAllocate.get(payment);
if (pAllocs.length != 0) { if (pAllocs.length != 0) {

View File

@ -188,7 +188,7 @@ public class MPaySelectionLine extends X_C_PaySelectionLine
/** /**
* After Delete * After Delete
* @param success success * @param success success
* @return sucess * @return success
*/ */
@Override @Override
protected boolean afterDelete (boolean success) protected boolean afterDelete (boolean success)

View File

@ -93,7 +93,7 @@ public class MPaymentAllocate extends X_C_PaymentAllocate
private MInvoice m_invoice = null; private MInvoice m_invoice = null;
/** /**
* Load Cosntructor * Load Constructor
* @param ctx context * @param ctx context
* @param rs result set * @param rs result set
* @param trxName trx * @param trxName trx

View File

@ -116,7 +116,7 @@ public class MProductCategoryAcct extends X_M_Product_Category_Acct implements I
} // MProductCategoryAcct } // MProductCategoryAcct
/** /**
* Load Cosntructor * Load Constructor
* @param ctx context * @param ctx context
* @param rs result set * @param rs result set
* @param trxName trx * @param trxName trx

View File

@ -354,7 +354,7 @@ public class MRefList extends X_AD_Ref_List implements ImmutablePOSupport
} }
/** /**
* Load Contructor * Load Constructor
* @param ctx context * @param ctx context
* @param rs result * @param rs result
* @param trxName transaction * @param trxName transaction

View File

@ -45,7 +45,7 @@ public class MRegistrationAttribute extends X_A_RegistrationAttribute implements
/** /**
* Get All Asset Registration Attributes (not cached). * Get All Asset Registration Attributes (not cached).
* Refreshes Cache for direct addess * Refreshes Cache for direct address
* @param ctx context * @param ctx context
* @return array of Registration Attributes * @return array of Registration Attributes
*/ */

View File

@ -29,7 +29,7 @@ import java.util.Properties;
public class MReplication extends X_AD_Replication public class MReplication extends X_AD_Replication
{ {
/** /**
* geneated serial id * generated serial id
*/ */
private static final long serialVersionUID = -562186299848949607L; private static final long serialVersionUID = -562186299848949607L;

View File

@ -2214,7 +2214,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
if (includes.size() == 0 && excludes.size() == 0) if (includes.size() == 0 && excludes.size() == 0)
return ""; return "";
if (includes.size() != 0 && excludes.size() != 0) if (includes.size() != 0 && excludes.size() != 0)
log.warning("Mixing Include and Excluse rules - Will not return values"); log.warning("Mixing Include and Exclude rules - Will not return values");
StringBuilder where = new StringBuilder(" AND "); StringBuilder where = new StringBuilder(" AND ");
if (includes.size() == 1) if (includes.size() == 1)
@ -2269,7 +2269,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
if (c == '.') if (c == '.')
{ {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
while (c != ' ' && c != ',' && c != '(') // delimeter while (c != ' ' && c != ',' && c != '(') // delimiter
{ {
sb.insert(0, c); sb.insert(0, c);
c = mainSql.charAt(--offset); c = mainSql.charAt(--offset);

View File

@ -119,7 +119,7 @@ public class MRoleIncluded extends X_AD_Role_Included
* @param trxName transaction name * @param trxName transaction name
* @return true if loop detected. If you specified not null trace, you will have in that list the IDs from the loop * @return true if loop detected. If you specified not null trace, you will have in that list the IDs from the loop
*/ */
// TODO: refactor this method and move into org.compiere.util.DB class because it's general and usefull of others too // TODO: refactor this method and move into org.compiere.util.DB class because it's general and useful of others too
private static boolean hasLoop(String tableName, String idColumnName, String parentIdColumnName, private static boolean hasLoop(String tableName, String idColumnName, String parentIdColumnName,
int nodeId, List<Integer> trace, int nodeId, List<Integer> trace,
String trxName) String trxName)

View File

@ -191,7 +191,7 @@ public class MSLACriteria extends X_PA_SLA_Criteria implements ImmutablePOSuppor
/** /**
* Create New Instance of SLA Criteria * Create New Instance of SLA Criteria
* @return instanciated class * @return instantiated class
* @throws Exception * @throws Exception
*/ */
public SLACriteria newInstance() throws Exception public SLACriteria newInstance() throws Exception

View File

@ -171,7 +171,7 @@ public class MSession extends X_AD_Session implements ImmutablePOSupport
} }
/** /**
* Load Costructor * Load Constructor
* @param ctx context * @param ctx context
* @param rs result set * @param rs result set
* @param trxName transaction * @param trxName transaction

View File

@ -155,7 +155,7 @@ public class MSystem extends X_AD_System
} }
/** /**
* Is LDAP Authentification defined * Is LDAP Authentication defined
* @return true if ldap defined * @return true if ldap defined
*/ */
public boolean isLDAP() public boolean isLDAP()
@ -169,7 +169,7 @@ public class MSystem extends X_AD_System
} // isLDAP } // isLDAP
/** /**
* LDAP Authentification. Assumes that LDAP is defined. * LDAP Authentication. Assumes that LDAP is defined.
* @param userName user name * @param userName user name
* @param password password * @param password password
* @return true if ldap authenticated * @return true if ldap authenticated

View File

@ -59,7 +59,7 @@ public class MTask extends X_AD_Task
} // MTask } // MTask
/** /**
* Load Cosntructor * Load Constructor
* @param ctx ctx * @param ctx ctx
* @param rs result set * @param rs result set
* @param trxName trx * @param trxName trx

View File

@ -793,7 +793,7 @@ public class MUser extends X_AD_User implements ImmutablePOSupport
ArrayList<MRole> list = new ArrayList<MRole>(); ArrayList<MRole> list = new ArrayList<MRole>();
// 2007-06-08, matthiasO. // 2007-06-08, matthiasO.
// Extension of sql query so that not only roles with org acces for this user // Extension of sql query so that not only roles with org access for this user
// are found but also roles which delegate org access to the user level where // are found but also roles which delegate org access to the user level where
// this user has access to the org in question // this user has access to the org in question
String sql = "SELECT * FROM AD_Role r " String sql = "SELECT * FROM AD_Role r "

View File

@ -652,7 +652,7 @@ public class ModelValidationEngine
{ {
//log the stack trace //log the stack trace
log.log(Level.SEVERE, e.getLocalizedMessage(), e); log.log(Level.SEVERE, e.getLocalizedMessage(), e);
// Exeptions are errors and should stop the document processing - teo_sarca [ 1679692 ] // Exceptions are errors and should stop the document processing - teo_sarca [ 1679692 ]
String error = e.getLocalizedMessage(); String error = e.getLocalizedMessage();
if (error == null) if (error == null)
error = e.toString(); error = e.toString();
@ -817,7 +817,7 @@ public class ModelValidationEngine
{ {
//log the stack trace //log the stack trace
log.log(Level.SEVERE, e.getLocalizedMessage(), e); log.log(Level.SEVERE, e.getLocalizedMessage(), e);
// Exeptions are errors and should stop the document processing - teo_sarca [ 1679692 ] // Exceptions are errors and should stop the document processing - teo_sarca [ 1679692 ]
String error = e.getLocalizedMessage(); String error = e.getLocalizedMessage();
if (error == null) if (error == null)
error = e.toString(); error = e.toString();

View File

@ -380,7 +380,7 @@ public class Query
/** /**
* Return first PO that match query criteria. * Return first PO that match query criteria.
* If there are more records that match criteria an exception will be throwed * If there are more records that match criteria an exception will be thrown
* @return first PO * @return first PO
* @throws DBException * @throws DBException
* @see {@link #first()} * @see {@link #first()}

View File

@ -429,7 +429,7 @@ public class Scriptlet
/** /**
* String Representation incl. Result * String Representation incl. Result
* @return Scipt * @return Script
*/ */
public String toString() public String toString()
{ {

View File

@ -136,7 +136,7 @@ public class SetGetUtil
boolean ok = false; boolean ok = false;
obj = rs.getObject(columnName); obj = rs.getObject(columnName);
// //
// Date Columns are retuned as Date -> convert to java.sql.Timestamp // Date Columns are returned as Date -> convert to java.sql.Timestamp
if (obj instanceof java.sql.Date) if (obj instanceof java.sql.Date)
{ {
obj = new java.sql.Timestamp(((java.sql.Date)obj).getTime()); obj = new java.sql.Timestamp(((java.sql.Date)obj).getTime());

View File

@ -312,7 +312,7 @@ public class Tax
rs = null; pstmt = null; rs = null; pstmt = null;
} }
// Reverese for PO // Reverse for PO
if (!IsSOTrx) if (!IsSOTrx)
{ {
int temp = billFromC_Location_ID; int temp = billFromC_Location_ID;

View File

@ -257,7 +257,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent
/** CashBook = C */ /** CashBook = C */
public static final String CASHBOOKTRANSFERTYPE_CashBook = "C"; public static final String CASHBOOKTRANSFERTYPE_CashBook = "C";
/** Set Cash Book Transfer Type. /** Set Cash Book Transfer Type.
@param CashBookTransferType Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book @param CashBookTransferType Where the money in the cash book should be transferred to. Either a Bank Account or another Cash Book
*/ */
public void setCashBookTransferType (String CashBookTransferType) public void setCashBookTransferType (String CashBookTransferType)
{ {
@ -266,7 +266,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent
} }
/** Get Cash Book Transfer Type. /** Get Cash Book Transfer Type.
@return Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book @return Where the money in the cash book should be transferred to. Either a Bank Account or another Cash Book
*/ */
public String getCashBookTransferType() public String getCashBookTransferType()
{ {

View File

@ -306,7 +306,7 @@ public class CPaper extends Paper
{ {
area = (MediaPrintableArea)atts[i]; area = (MediaPrintableArea)atts[i];
} }
else // unhandeled else // unhandled
System.out.println(atts[i].getName() + " = " + atts[i] + " - " + atts[i].getCategory()); System.out.println(atts[i].getName() + " = " + atts[i] + " - " + atts[i].getCategory());
} }
// //

View File

@ -57,7 +57,7 @@ import bsh.Interpreter;
/** /**
* Data Engine. * Data Engine.
* Creates SQL and laods data into PrintData (including totals/etc.) * Creates SQL and loads data into PrintData (including totals/etc.)
* *
* @author Jorg Janke * @author Jorg Janke
* @version $Id: DataEngine.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $ * @version $Id: DataEngine.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
@ -696,8 +696,8 @@ public class DataEngine
if (columns.size() == 0) if (columns.size() == 0)
{ {
log.log(Level.SEVERE, "No Colums - Delete Report Format " + reportName + " and start again"); log.log(Level.SEVERE, "No Columns - Delete Report Format " + reportName + " and start again");
if (log.isLoggable(Level.FINEST)) log.finest("No Colums - SQL=" + sql + " - ID=" + format.get_ID()); if (log.isLoggable(Level.FINEST)) log.finest("No Columns - SQL=" + sql + " - ID=" + format.get_ID());
return null; return null;
} }
@ -1192,7 +1192,7 @@ public class DataEngine
// Check last Group Change // Check last Group Change
if (m_group.getGroupColumnCount() > 1) // one is TOTAL if (m_group.getGroupColumnCount() > 1) // one is TOTAL
{ {
for (int i = pd.getColumnInfo().length-1; i >= 0; i--) // backwards (leaset group first) for (int i = pd.getColumnInfo().length-1; i >= 0; i--) // backwards (last group first)
{ {
PrintDataColumn group_pdc = pd.getColumnInfo()[i]; PrintDataColumn group_pdc = pd.getColumnInfo()[i];
if (!m_group.isGroupColumn(group_pdc.getAD_PrintFormatItem_ID())) if (!m_group.isGroupColumn(group_pdc.getAD_PrintFormatItem_ID()))

View File

@ -509,7 +509,7 @@ public class MPrintFormat extends X_AD_PrintFormat implements ImmutablePOSupport
} // getTableFormat } // getTableFormat
/** /**
* Sting Representation * String Representation
* @return info * @return info
*/ */
public String toString() public String toString()

View File

@ -201,8 +201,8 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl
} // setStandard_Font } // setStandard_Font
/** /**
* Get Stndard Font * Get Standard Font
* @return stndard font * @return standard font
*/ */
public Font getStandard_Font() public Font getStandard_Font()
{ {
@ -473,7 +473,7 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl
} // getHLine_Color } // getHLine_Color
/** /**
* Get Verical Line Color. * Get Vertical Line Color.
* (one db attribute for line color) * (one db attribute for line color)
* @return color or gray light * @return color or gray light
*/ */

View File

@ -45,7 +45,7 @@ import org.w3c.dom.Element;
/** /**
* Print Data Structure. * Print Data Structure.
* Created by DataEngine * Created by DataEngine
* A Structure has rows, wich contain elements. * A Structure has rows, which contain elements.
* Elements can be end nodes (PrintDataElements) or data structures (PrintData). * Elements can be end nodes (PrintDataElements) or data structures (PrintData).
* The row data is sparse - i.e. null if not existing. * The row data is sparse - i.e. null if not existing.
* A Structure has optional meta info about content (PrintDataColumn). * A Structure has optional meta info about content (PrintDataColumn).

View File

@ -223,7 +223,7 @@ public class PrintUtil
/** /**
* Print Async * Print Async
* @param pageable pageable * @param pageable pageable
* @param prats print attribure set * @param prats print attribute set
*/ */
static public void print (Pageable pageable, PrintRequestAttributeSet prats) static public void print (Pageable pageable, PrintRequestAttributeSet prats)
{ {
@ -235,7 +235,7 @@ public class PrintUtil
/** /**
* Print * Print
* @param job printer job * @param job printer job
* @param prats print attribure set * @param prats print attribute set
* @param withDialog if true shows Dialog * @param withDialog if true shows Dialog
* @param waitForIt if false print async * @param waitForIt if false print async
*/ */

View File

@ -618,7 +618,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
* Create HTML File * Create HTML File
* @param file file * @param file file
* @param onlyTable if false create complete HTML document * @param onlyTable if false create complete HTML document
* @param language optional language - if null the default language is used to format nubers/dates * @param language optional language - if null the default language is used to format numbers/dates
* @return true if success * @return true if success
*/ */
public boolean createHTML (File file, boolean onlyTable, Language language) public boolean createHTML (File file, boolean onlyTable, Language language)
@ -630,7 +630,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
* Create HTML File * Create HTML File
* @param file file * @param file file
* @param onlyTable if false create complete HTML document * @param onlyTable if false create complete HTML document
* @param language optional language - if null the default language is used to format nubers/dates * @param language optional language - if null the default language is used to format numbers/dates
* @param extension optional extension for html output * @param extension optional extension for html output
* @return true if success * @return true if success
*/ */
@ -660,7 +660,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
* Write HTML to writer * Write HTML to writer
* @param writer writer * @param writer writer
* @param onlyTable if false create complete HTML document * @param onlyTable if false create complete HTML document
* @param language optional language - if null nubers/dates are not formatted * @param language optional language - if null numbers/dates are not formatted
* @return true if success * @return true if success
*/ */
public boolean createHTML (Writer writer, boolean onlyTable, Language language) public boolean createHTML (Writer writer, boolean onlyTable, Language language)

View File

@ -21,7 +21,7 @@ import java.awt.geom.Dimension2D;
import java.io.Serializable; import java.io.Serializable;
/** /**
* 2D Dimesnion Implementation * 2D Dimension Implementation
* *
* @author Jorg Janke * @author Jorg Janke
* @version $Id: Dimension2DImpl.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $ * @version $Id: Dimension2DImpl.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $

View File

@ -27,7 +27,7 @@ import java.util.regex.Pattern;
* HTML Form Print ELement. * HTML Form Print ELement.
* Restrictions: * Restrictions:
* - Label is not printed * - Label is not printed
* - Alighnment is ignored * - Alignment is ignored
* *
* @author Jorg Janke * @author Jorg Janke
* @version $Id: HTMLElement.java,v 1.2 2006/07/30 00:53:02 jjanke Exp $ * @version $Id: HTMLElement.java,v 1.2 2006/07/30 00:53:02 jjanke Exp $

View File

@ -1008,7 +1008,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
if (row > 0 && m_format.isBreakPagePerRecord()) if (row > 0 && m_format.isBreakPagePerRecord())
newPage(true, false); // break page per record when the report is a form newPage(true, false); // break page per record when the report is a form
boolean somethingPrinted = true; // prevent NL of nothing printed and supress null boolean somethingPrinted = true; // prevent NL of nothing printed and suppress null
// for every item // for every item
for (int i = 0; i < m_format.getItemCount(); i++) for (int i = 0; i < m_format.getItemCount(); i++)
{ {
@ -1441,7 +1441,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
// Get Color/ Font // Get Color/ Font
Color color = getColor(); // default Color color = getColor(); // default
if (ID != null && !isForm) if (ID != null && !isForm)
; // link color/underline handeled in PrintElement classes ; // link color/underline handled in PrintElement classes
else if (item.getAD_PrintColor_ID() != 0 && m_printColor.get_ID() != item.getAD_PrintColor_ID()) else if (item.getAD_PrintColor_ID() != 0 && m_printColor.get_ID() != item.getAD_PrintColor_ID())
{ {
MPrintColor c = MPrintColor.get (getCtx(), item.getAD_PrintColor_ID()); MPrintColor c = MPrintColor.get (getCtx(), item.getAD_PrintColor_ID());

View File

@ -538,7 +538,7 @@ public class StringElement extends PrintElement
float lineHeight = layout.getAscent() + layout.getDescent() + layout.getLeading(); float lineHeight = layout.getAscent() + layout.getDescent() + layout.getLeading();
if (p_maxHeight == -1f && i == 0) // one line only if (p_maxHeight == -1f && i == 0) // one line only
p_maxHeight = lineHeight; p_maxHeight = lineHeight;
// If we have hight left over // If we have height left over
if (p_maxHeight == 0f || (height + lineHeight) <= p_maxHeight) if (p_maxHeight == 0f || (height + lineHeight) <= p_maxHeight)
{ {
yPen = (float)location.y + height + layout.getAscent(); yPen = (float)location.y + height + layout.getAscent();

View File

@ -93,7 +93,7 @@ public class TableElement extends PrintElement
* i.e. Point (-1, -1) is the default for the table * i.e. Point (-1, -1) is the default for the table
* *
* @param columnHeader array with column headers (Key=ColumnName) * @param columnHeader array with column headers (Key=ColumnName)
* @param columnMaxWidth array with column max width - 0=no restrictions - negative=supress if null * @param columnMaxWidth array with column max width - 0=no restrictions - negative=suppress if null
* @param columnMaxHeight array with row max height for a column - 0=no restrictions; -1=one row only * @param columnMaxHeight array with row max height for a column - 0=no restrictions; -1=one row only
* @param columnJustification field justification for column * @param columnJustification field justification for column
* *
@ -109,7 +109,7 @@ public class TableElement extends PrintElement
* @param firstPage bounds on first page * @param firstPage bounds on first page
* @param nextPages bounds on following pages * @param nextPages bounds on following pages
* @param repeatedColumns repeat first x columns on - X Axis follow pages * @param repeatedColumns repeat first x columns on - X Axis follow pages
* @param additionalLines map of old colum to below printed column * @param additionalLines map of old column to below printed column
* *
* @param rowColFont HashMap with Point as key with Font overwrite * @param rowColFont HashMap with Point as key with Font overwrite
* @param rowColColor HashMap with Point as key with foreground Color overwrite * @param rowColColor HashMap with Point as key with foreground Color overwrite
@ -1722,7 +1722,7 @@ public class TableElement extends PrintElement
} }
else else
{ {
// next line is a funcion column -> underline this // next line is a function column -> underline this
boolean nextIsFunction = m_functionRows.contains(Integer.valueOf(row+1)); boolean nextIsFunction = m_functionRows.contains(Integer.valueOf(row+1));
if (nextIsFunction && m_functionRows.contains(Integer.valueOf(row))) if (nextIsFunction && m_functionRows.contains(Integer.valueOf(row)))
nextIsFunction = false; // this is a function line too nextIsFunction = false; // this is a function line too

View File

@ -314,7 +314,7 @@ public class ProcessInfoLog implements Serializable
/** /**
* Set AD_PInstance_Log_UU * Set AD_PInstance_Log_UU
* @return Sting AD_PInstance_Log_UU * @return String AD_PInstance_Log_UU
*/ */
public String getAD_PInstance_Log_UU() { public String getAD_PInstance_Log_UU() {
return m_AD_PInstance_Log_UU; return m_AD_PInstance_Log_UU;

View File

@ -301,7 +301,7 @@ public class ServerProcessCtl implements Runnable {
/************************************************************************** /**************************************************************************
* Start Java Process Class. * Start Java Process Class.
* instanciate the class implementing the interface ProcessCall. * instantiate the class implementing the interface ProcessCall.
* The class can be a Server/Client class (when in Package * The class can be a Server/Client class (when in Package
* org adempiere.process or org.compiere.model) or a client only class * org adempiere.process or org.compiere.model) or a client only class
* (e.g. in org.compiere.report) * (e.g. in org.compiere.report)

View File

@ -97,7 +97,7 @@ public class MReportLine extends X_PA_ReportLine
loadSources(); loadSources();
} // MReportLine } // MReportLine
/** Containt Sources */ /** Contained Sources */
private MReportSource[] m_sources = null; private MReportSource[] m_sources = null;
/** Cache result */ /** Cache result */
private String m_whereClause = null; private String m_whereClause = null;

View File

@ -269,7 +269,7 @@ public class RModel implements Serializable
// TableModel interface // TableModel interface
/** /**
* Return Total mumber of rows * Return Total number of rows
* @return row count * @return row count
*/ */
public int getRowCount() public int getRowCount()

View File

@ -188,7 +188,7 @@ public class RModelData
{ {
if (log.isLoggable(Level.FINE)) log.fine("Start Rows=" + m_rows.size()); if (log.isLoggable(Level.FINE)) log.fine("Start Rows=" + m_rows.size());
// Row level Funcions // Row level Functions
// would come here // would come here
// Group by Values // Group by Values

View File

@ -364,7 +364,7 @@ public class FileUtil
/** /**
* Get Filter String * Get Filter String
* @return flter String * @return filter String
*/ */
String getFilterString() String getFilterString()
{ {

View File

@ -955,7 +955,7 @@ public class EmailSrv {
*/ */
public List<BodyPart> lsEmbedPart = new ArrayList<BodyPart>(); public List<BodyPart> lsEmbedPart = new ArrayList<BodyPart>();
/** /**
* list part unknow to process * list part unknown to process
*/ */
public List<Part> lsUnknowPart = new ArrayList<Part>(); public List<Part> lsUnknowPart = new ArrayList<Part>();

View File

@ -33,7 +33,7 @@ public class NullParameter implements Serializable
private static final long serialVersionUID = 5098594046699488306L; private static final long serialVersionUID = 5098594046699488306L;
/** /**
* Cosntructor * Constructor
* @param type SQL Type java.sql.Types.* * @param type SQL Type java.sql.Types.*
*/ */
public NullParameter(int type) public NullParameter(int type)

View File

@ -181,7 +181,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
} // MWFActivity } // MWFActivity
/** /**
* Parent Contructor * Parent Constructor
* @param process process * @param process process
* @param AD_WF_Node_ID start node * @param AD_WF_Node_ID start node
*/ */

View File

@ -57,7 +57,7 @@ public class MWFNodeNext extends X_AD_WF_NodeNext implements ImmutablePOSupport
} }
/** /**
* Standard Costructor * Standard Constructor
* @param ctx context * @param ctx context
* @param AD_WF_NodeNext_ID id * @param AD_WF_NodeNext_ID id
* @param trxName transaction * @param trxName transaction

View File

@ -49,7 +49,7 @@ public class BankTransfer extends SvrProcess
private int p_C_ConversionType_ID = 0; // Payment Conversion Type private int p_C_ConversionType_ID = 0; // Payment Conversion Type
private int p_C_Charge_ID = 0; // Charge to be used as bridge private int p_C_Charge_ID = 0; // Charge to be used as bridge
private BigDecimal p_Amount = Env.ZERO; // Amount to be transfered between the accounts private BigDecimal p_Amount = Env.ZERO; // Amount to be transferred between the accounts
private int p_From_C_BankAccount_ID = 0; // Bank Account From private int p_From_C_BankAccount_ID = 0; // Bank Account From
private int p_To_C_BankAccount_ID= 0; // Bank Account To private int p_To_C_BankAccount_ID= 0; // Bank Account To
private Timestamp p_StatementDate = null; // Date Statement private Timestamp p_StatementDate = null; // Date Statement

View File

@ -66,7 +66,7 @@ public class BridgeServlet extends HttpServlet {
} }
/** /**
* Search from OSGi registry the servlet, ressources... to executed according the path of the HTTP request. If no service are founded : * Search from OSGi registry the servlet, resources... to execute according to the path of the HTTP request. If no services are found :
* <ul> * <ul>
* <li>if {@link FilterChain} is not null : {@link FilterChain#doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)} is called.</li> * <li>if {@link FilterChain} is not null : {@link FilterChain#doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)} is called.</li>
* <li>otherwise throw 404 error.</li> * <li>otherwise throw 404 error.</li>

View File

@ -25,7 +25,7 @@ import org.osgi.service.http.HttpContext;
* The Http Service also requires a ServletContext namespaced by each individual HttpContext. The ProxyContext provides support for the * The Http Service also requires a ServletContext namespaced by each individual HttpContext. The ProxyContext provides support for the
* attribute map of a ServletContext again namespaced by HttpContext as specified in the Http Service specification. The ContextAttributes * attribute map of a ServletContext again namespaced by HttpContext as specified in the Http Service specification. The ContextAttributes
* are reference counted so that when the HttpContext is no longer referenced the associated context attributes can be * are reference counted so that when the HttpContext is no longer referenced the associated context attributes can be
* garbage collected and the context temp dir deleteted. * garbage collected and the context temp dir deleted.
*/ */
public class ProxyContext { public class ProxyContext {
private static final String JAVAX_SERVLET_CONTEXT_TEMPDIR = "javax.servlet.context.tempdir"; //$NON-NLS-1$ private static final String JAVAX_SERVLET_CONTEXT_TEMPDIR = "javax.servlet.context.tempdir"; //$NON-NLS-1$
@ -86,7 +86,7 @@ public class ProxyContext {
/** /**
* deleteDirectory is a convenience method to recursively delete a directory * deleteDirectory is a convenience method to recursively delete a directory
* @param directory - the directory to delete. * @param directory - the directory to delete.
* @return was the delete succesful * @return was the delete successful
*/ */
protected static boolean deleteDirectory(File directory) { protected static boolean deleteDirectory(File directory) {
if (directory.exists() && directory.isDirectory()) { if (directory.exists() && directory.isDirectory()) {

View File

@ -97,7 +97,7 @@ public abstract class Config
/** /**
* UI Signal OK * UI Signal OK
* @param cb ckeck box * @param cb check box
* @param resString resource string key * @param resString resource string key
* @param pass true if test passed * @param pass true if test passed
* @param critical true if critical * @param critical true if critical

View File

@ -291,7 +291,7 @@ public class KeyStoreMgt
} }
/** /**
* Get Distinguised Name * Get Distinguished Name
* @param parent interactive dialog * @param parent interactive dialog
* @return dname or null * @return dname or null
*/ */
@ -378,7 +378,7 @@ public class KeyStoreMgt
/** /**
* Escape Commas * Escape Commas
* @param in input string * @param in input string
* @return excaped string * @return escaped string
*/ */
public static String escapeCommas(String in) public static String escapeCommas(String in)
{ {

View File

@ -50,7 +50,7 @@ public class ALayout implements LayoutManager2
} // ALayout } // ALayout
/** /**
* Detail Contructor * Detail Constructor
* @param spaceH horizontal space (top, between rows, button) * @param spaceH horizontal space (top, between rows, button)
* @param spaceV vertical space (left, between columns, right) * @param spaceV vertical space (left, between columns, right)
* @param colFill fields are fully filled (rather then preferred size) * @param colFill fields are fully filled (rather then preferred size)
@ -162,7 +162,7 @@ public class ALayout implements LayoutManager2
/** /**
* Calculate Layout Size * Calculate Layout Size
* @param parent Parent Container * @param parent Parent Container
* @param how P=Preferred - M=Maximum = m=Mimimum * @param how P=Preferred - M=Maximum = m=Minimum
* @return Size * @return Size
*/ */
private Dimension calculateLayoutSize(Container parent, char how) private Dimension calculateLayoutSize(Container parent, char how)

View File

@ -70,7 +70,7 @@ public final class AppsAction extends AbstractAction
* *
* @param action base action command - used as AD_Message for Text and Icon name * @param action base action command - used as AD_Message for Text and Icon name
* @param accelerator optional keystroke for accelerator * @param accelerator optional keystroke for accelerator
* @param text text, if null defered from action * @param text text, if null deferred from action
*/ */
public AppsAction (String action, KeyStroke accelerator, String text) public AppsAction (String action, KeyStroke accelerator, String text)
{ {
@ -82,7 +82,7 @@ public final class AppsAction extends AbstractAction
* *
* @param action base action command - used as AD_Message for Text and Icon name * @param action base action command - used as AD_Message for Text and Icon name
* @param accelerator optional keystroke for accelerator * @param accelerator optional keystroke for accelerator
* @param toolTipText text, if null defered from action * @param toolTipText text, if null deferred from action
* @param toggle is toggle action (maintains state) * @param toggle is toggle action (maintains state)
*/ */
public AppsAction (String action, KeyStroke accelerator, String toolTipText, boolean toggle) public AppsAction (String action, KeyStroke accelerator, String toolTipText, boolean toggle)

View File

@ -612,7 +612,7 @@ public final class ConfirmPanel extends JPanel
/** /**
* Is OK Visible * Is OK Visible
* @return true of OK visisble * @return true of OK visible
*/ */
public boolean isOKVisible() public boolean isOKVisible()
{ {

View File

@ -156,7 +156,7 @@ public class PP_Optimal extends PaymentProcessor
AVSCodes.put("W", "Nine digit zip matches, address not"); AVSCodes.put("W", "Nine digit zip matches, address not");
AVSCodes.put("Z", "Five digit zip matches, address not"); AVSCodes.put("Z", "Five digit zip matches, address not");
AVSCodes.put("N", "No Part matches"); AVSCodes.put("N", "No Part matches");
AVSCodes.put("U", "Address info unabailable"); AVSCodes.put("U", "Address info unavailable");
AVSCodes.put("R", "Retry"); AVSCodes.put("R", "Retry");
AVSCodes.put("S", "AVS not supported"); AVSCodes.put("S", "AVS not supported");
AVSCodes.put("E", "AVS not supported for this industry"); AVSCodes.put("E", "AVS not supported for this industry");

View File

@ -201,7 +201,7 @@ public final class PP_PayFlowPro extends PaymentProcessor
else else
log.log(Level.SEVERE, "Response unknown = " + token); log.log(Level.SEVERE, "Response unknown = " + token);
} }
// Probelms with rc (e.g. 0 with Result=24) // Problems with rc (e.g. 0 with Result=24)
return m_ok; return m_ok;
} // process } // process

View File

@ -210,7 +210,7 @@ public final class PP_PayFlowPro4 extends PaymentProcessor
// Following lines of code are optional. // Following lines of code are optional.
// Begin optional code for displaying SDK errors ... // Begin optional code for displaying SDK errors ...
// It is used to read any errors that might have occured in the SDK. // It is used to read any errors that might have occurred in the SDK.
// Get the transaction errors. // Get the transaction errors.
String transErrors = m_pp.getTransactionContext().toString(); String transErrors = m_pp.getTransactionContext().toString();

View File

@ -84,7 +84,7 @@ public class ColumnElementHandler extends AbstractElementHandler {
&& mColumn.is_ValueChanged(MColumn.COLUMNNAME_FieldLength) && mColumn.is_ValueChanged(MColumn.COLUMNNAME_FieldLength)
&& mColumn.getFieldLength() < mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength) && mColumn.getFieldLength() < mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength)
) { ) {
// IDEMPIERE-1518 2Pack shoud not try to reduce column size // IDEMPIERE-1518 2Pack should not try to reduce column size
mColumn.setFieldLength(mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength)); mColumn.setFieldLength(mColumn.get_ValueOldAsInt(MColumn.COLUMNNAME_FieldLength));
} }

View File

@ -104,7 +104,7 @@ public class ReportViewElementHandler extends AbstractElementHandler {
AttributesImpl atts = new AttributesImpl(); AttributesImpl atts = new AttributesImpl();
MReportView m_Reportview = new MReportView(ctx.ctx, AD_ReportView_ID, getTrxName(ctx)); MReportView m_Reportview = new MReportView(ctx.ctx, AD_ReportView_ID, getTrxName(ctx));
// Export Table if neccessary // Export Table if necessary
ElementHandler tableHandler = packOut.getHandler(I_AD_Table.Table_Name); ElementHandler tableHandler = packOut.getHandler(I_AD_Table.Table_Name);
try { try {
tableHandler.packOut(packOut, document, null, m_Reportview.getAD_Table_ID()); tableHandler.packOut(packOut, document, null, m_Reportview.getAD_Table_ID());

View File

@ -126,7 +126,7 @@ public class TopicImportProcessor implements IImportProcessor {
if ( topicListener != null ) { if ( topicListener != null ) {
topicListener.stop(); topicListener.stop();
log.info("Stoped topicListener." ); log.info("Stopped topicListener." );
} }
} }

View File

@ -254,7 +254,7 @@ public class ExportHelper {
// process single XML Attribute // process single XML Attribute
// Create new element // Create new element
Element newElement = outDocument.createElement(formatLine.getValue()); Element newElement = outDocument.createElement(formatLine.getValue());
if (log.isLoggable(Level.INFO)) log.info("Format Line Seach key: "+ formatLine.getValue()); if (log.isLoggable(Level.INFO)) log.info("Format Line Search key: "+ formatLine.getValue());
if (formatLine.getAD_Column_ID() == 0) { if (formatLine.getAD_Column_ID() == 0) {
throw new Exception(Msg.getMsg (masterPO.getCtx(), "EXPColumnMandatory")); throw new Exception(Msg.getMsg (masterPO.getCtx(), "EXPColumnMandatory"));
} }

View File

@ -296,7 +296,7 @@ public class ImportHelper {
// and set value of column! // and set value of column!
for (MEXPFormatLine formatLine : formatLines) for (MEXPFormatLine formatLine : formatLines)
{ {
log.info("=================== Beginnig of Format Line ==============================="); log.info("=================== Beginning of Format Line ==============================");
if (log.isLoggable(Level.INFO)) log.info("formatLine: [" + formatLine.toString() + "]"); if (log.isLoggable(Level.INFO)) log.info("formatLine: [" + formatLine.toString() + "]");
//Get the value //Get the value
Object value = getValueFromFormat(formatLine,po,rootElement,result,ReplicationType); Object value = getValueFromFormat(formatLine,po,rootElement,result,ReplicationType);
@ -343,7 +343,7 @@ public class ImportHelper {
String xPath = null; String xPath = null;
xPath = "" + line.getValue() + ""; xPath = "" + line.getValue() + "";
if (log.isLoggable(Level.INFO)) log.info("Seach for XML Element = " + xPath); if (log.isLoggable(Level.INFO)) log.info("Search for XML Element = " + xPath);
Element referencedNode = XMLHelper.getElement(xPath, rootElement); Element referencedNode = XMLHelper.getElement(xPath, rootElement);
if (log.isLoggable(Level.INFO)) log.info("referencedNode = " + referencedNode); if (log.isLoggable(Level.INFO)) log.info("referencedNode = " + referencedNode);

View File

@ -100,7 +100,7 @@ java.lang.Object
<DL> <DL>
<DT><B>Author:</B></DT> <DT><B>Author:</B></DT>
<DD>rlemeill <DD>rlemeill
originaly coming from an application note from compiere.co.uk</DD> originally coming from an application note from compiere.co.uk</DD>
</DL> </DL>
<HR> <HR>
@ -434,8 +434,8 @@ private java.io.File <B>getRemoteFile</B>(java.lang.String&nbsp;reportLocation,
</DL> </DL>
</DD> </DD>
<DD><DL> <DD><DL>
<DT><B>Parameters:</B><DD><CODE>reportLocation</CODE> - http://applicationserver/webApp/standalone.jrxml for exemple<DD><CODE>localPath</CODE> - Where to put the http downloadede file <DT><B>Parameters:</B><DD><CODE>reportLocation</CODE> - http://applicationserver/webApp/standalone.jrxml for example<DD><CODE>localPath</CODE> - Where to put the http downloadede file
<DT><B>Returns:</B><DD>abstract File wich represent the downloaded file</DL> <DT><B>Returns:</B><DD>abstract File which represents the downloaded file</DL>
</DD> </DD>
</DL> </DL>
<HR> <HR>

View File

@ -27,7 +27,7 @@ import net.sf.jasperreports.export.SimpleExporterConfiguration;
import net.sf.jasperreports.export.SimplePdfExporterConfiguration; import net.sf.jasperreports.export.SimplePdfExporterConfiguration;
/** /**
* mange to fire event relate jasper report * manage to fire event relate jasper report
* at the moment just fire export pdf event * at the moment just fire export pdf event
* @author hieplq * @author hieplq
* *

Some files were not shown because too many files have changed in this diff Show More