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_Description= ""; // Description
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_To_C_BankAccount_ID= 0; // Bank Account To
private Timestamp p_StatementDate = null; // Date Statement

View File

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

View File

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

View File

@ -369,7 +369,7 @@ public class InventoryCountCreate extends SvrProcess
* @param productCategoryId
* @param categories
* @param loopIndicatorId
* @return comma seperated list of category ids
* @return comma separated list of category ids
* @throws AdempiereSystemError if a loop is detected
*/
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);
}
// Refresh the list on dependant fields
// Refresh the list on dependent fields
for (GridField dependentField : l_gridTab.getDependantFields(mField.getColumnName()))
{
// 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
* provides this service may or may not provide an BankStatementLoader
* 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
* want to use.
*

View File

@ -141,7 +141,7 @@ public class RequestEventHandler extends AbstractEventHandler implements Managed
oldSalesRep_ID = ((Integer)oo).intValue();
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(),
MUser.getNameOfUser(AD_User_ID),
MUser.getNameOfUser(oldSalesRep_ID),

View File

@ -230,7 +230,7 @@ public class GridTabCSVImporter implements IGridTabImporter
rowsTmpResult.add(rawLine);
continue;
}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);
continue;
}
@ -826,7 +826,7 @@ public class GridTabCSVImporter implements IGridTabImporter
wfProcess.setTransactionName(document.get_TrxName());
MWFProcess wdPro = ProcessUtil.startWorkFlow(Env.getCtx(),wfProcess, AD_Workflow_ID);
if(wdPro == null)
return "Document action could not be proccesed";
return "Document action could not be processed";
else if (wfProcess.isError())
return "Document action error: "+wfProcess.getSummary();
else

View File

@ -18,7 +18,7 @@ import org.compiere.util.DB;
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.
*/
@org.adempiere.base.annotation.Process

View File

@ -258,7 +258,7 @@ public abstract class Convert_SQL92 extends Convert {
.append(" ON (").append(second.getCondition());
joins.remove(j); // remove from join 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
//----
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());
joins.remove(k); // remove from join 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
}
else if (trace)

View File

@ -291,14 +291,14 @@ public abstract class OFXBankStatementHandler extends DefaultHandler
} //isValid
/**
* Check wether the import was succesfull
* @return true if all statement lines have been imported succesfully
* Check whether the import was successful
* @return true if all statement lines have been imported successfully
*/
public boolean importSuccessfull()
{
/*
* 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;
} // importSuccessfull

View File

@ -418,7 +418,7 @@ public class AccessSqlParser
} // TableInfo
/**
* Short Constuctor - no synonym
* Short Constructor - no synonym
* @param tableName table
*/
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(filePath!=null){
filePath = filePath.replaceFirst(ARCHIVE_FOLDER_PLACEHOLDER, archivePathRoot.replaceAll("\\\\","\\\\\\\\"));
//just to be shure...
//just to be sure...
String replaceSeparator = File.separator;
if(!replaceSeparator.equals("/")){
replaceSeparator = "\\\\";

View File

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

View File

@ -2056,7 +2056,7 @@ public class GridField
* Set Value to null.
* <p>
* 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 ()
{

View File

@ -633,7 +633,7 @@ public class GridFieldVO implements Serializable, Cloneable
public int displayType = 0;
/** Table ID */
public int AD_Table_ID = 0;
/** Clumn ID */
/** Column ID */
public int AD_Column_ID = 0;
/** Display Length */
public int DisplayLength = 0;
@ -647,7 +647,7 @@ public class GridFieldVO implements Serializable, Cloneable
public int SeqNo = 0;
/** Grid Display sequence */
public int SeqNoGrid = 0;
/** Dislay Logic, never set null for it */
/** Display Logic, never set null for it */
public String DisplayLogic = "";
/** Default Value, never set null for it */
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%'
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
+ ", Query=" + query);
return query.getWhereClause(true);

View File

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

View File

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

View File

@ -133,12 +133,12 @@ public interface I_U_POSTerminal
public static final String COLUMNNAME_CashBookTransferType = "CashBookTransferType";
/** 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);
/** 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();

View File

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

View File

@ -295,7 +295,7 @@ public class MAcctSchemaElement extends X_C_AcctSchema_Element implements Immuta
/**
* Set value for Account element type
* @param SeqNo squence
* @param SeqNo sequence
* @param Name name
* @param C_Element_ID element
* @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 AD_AlertRule_ID id
* @param trxName transaction

View File

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

View File

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

View File

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

View File

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

View File

@ -890,7 +890,7 @@ public class MCost extends X_M_Cost
* @param product product
* @param M_AttributeSetInstance_ID optional asi
* @param as acct schema
* @param AD_Org_ID optonal org
* @param AD_Org_ID optional org
* @return average invoice costs or null
*/
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 */
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
// logging

View File

@ -28,7 +28,7 @@ import org.idempiere.cache.ImmutablePOSupport;
import org.idempiere.cache.ImmutablePOCache;
/**
* Enitity Type Model
* Entity Type Model
*
* @author Jorg Janke
* @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 Name Name
* @param Description Decsription
* @param Description Description
* @param MeasureTarget target
* @param trxName trx
*/

View File

@ -287,7 +287,7 @@ public class MIFixedAsset extends X_I_FixedAsset
private int m_A_Asset_Group_ID = 0;
/**
* set defauly asset group id
* set default asset group id
* @param 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());
}
// Refernces (Should not be required
// References (Should not be required)
counter.setSalesRep_ID(getSalesRep_ID());
counter.saveEx(get_TrxName());

View File

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

View File

@ -70,7 +70,7 @@ import org.eevolution.model.MPPProductBOMLine;
* <li> FR [ 2520591 ] Support multiples calendar for Org
* @see https://sourceforge.net/p/adempiere/feature-requests/631/
* 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
{

View File

@ -1232,7 +1232,7 @@ public class MInvoiceLine extends X_C_InvoiceLine
MInOutLine[] lines = ship.getLines();
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)
continue;
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
* @param C_Currency_ID currenct
* @param C_Currency_ID currency
* @param C_ConversionType_ID type
* @param CurrencyRate rate
*/

View File

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

View File

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

View File

@ -413,7 +413,7 @@ public class MPInstanceLog
/**
* Set AD_PInstance_Log_UU
* @return Sting AD_PInstance_Log_UU
* @return String AD_PInstance_Log_UU
*/
public String getAD_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();
} else {
// 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
MPaymentAllocate[] pAllocs = MPaymentAllocate.get(payment);
if (pAllocs.length != 0) {

View File

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

View File

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

View File

@ -116,7 +116,7 @@ public class MProductCategoryAcct extends X_M_Product_Category_Acct implements I
} // MProductCategoryAcct
/**
* Load Cosntructor
* Load Constructor
* @param ctx context
* @param rs result set
* @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 rs result
* @param trxName transaction

View File

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

View File

@ -29,7 +29,7 @@ import java.util.Properties;
public class MReplication extends X_AD_Replication
{
/**
* geneated serial id
* generated serial id
*/
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)
return "";
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 ");
if (includes.size() == 1)
@ -2269,7 +2269,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
if (c == '.')
{
StringBuilder sb = new StringBuilder();
while (c != ' ' && c != ',' && c != '(') // delimeter
while (c != ' ' && c != ',' && c != '(') // delimiter
{
sb.insert(0, c);
c = mainSql.charAt(--offset);

View File

@ -119,7 +119,7 @@ public class MRoleIncluded extends X_AD_Role_Included
* @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
*/
// 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,
int nodeId, List<Integer> trace,
String trxName)

View File

@ -191,7 +191,7 @@ public class MSLACriteria extends X_PA_SLA_Criteria implements ImmutablePOSuppor
/**
* Create New Instance of SLA Criteria
* @return instanciated class
* @return instantiated class
* @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 rs result set
* @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
*/
public boolean isLDAP()
@ -169,7 +169,7 @@ public class MSystem extends X_AD_System
} // isLDAP
/**
* LDAP Authentification. Assumes that LDAP is defined.
* LDAP Authentication. Assumes that LDAP is defined.
* @param userName user name
* @param password password
* @return true if ldap authenticated

View File

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

View File

@ -793,7 +793,7 @@ public class MUser extends X_AD_User implements ImmutablePOSupport
ArrayList<MRole> list = new ArrayList<MRole>();
// 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
// this user has access to the org in question
String sql = "SELECT * FROM AD_Role r "

View File

@ -652,7 +652,7 @@ public class ModelValidationEngine
{
//log the stack trace
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();
if (error == null)
error = e.toString();
@ -817,7 +817,7 @@ public class ModelValidationEngine
{
//log the stack trace
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();
if (error == null)
error = e.toString();

View File

@ -380,7 +380,7 @@ public class Query
/**
* 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
* @throws DBException
* @see {@link #first()}

View File

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

View File

@ -136,7 +136,7 @@ public class SetGetUtil
boolean ok = false;
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)
{
obj = new java.sql.Timestamp(((java.sql.Date)obj).getTime());

View File

@ -312,7 +312,7 @@ public class Tax
rs = null; pstmt = null;
}
// Reverese for PO
// Reverse for PO
if (!IsSOTrx)
{
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 */
public static final String CASHBOOKTRANSFERTYPE_CashBook = "C";
/** 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)
{
@ -266,7 +266,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent
}
/** 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()
{

View File

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

View File

@ -57,7 +57,7 @@ import bsh.Interpreter;
/**
* 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
* @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)
{
log.log(Level.SEVERE, "No Colums - Delete Report Format " + reportName + " and start again");
if (log.isLoggable(Level.FINEST)) log.finest("No Colums - SQL=" + sql + " - ID=" + format.get_ID());
log.log(Level.SEVERE, "No Columns - Delete Report Format " + reportName + " and start again");
if (log.isLoggable(Level.FINEST)) log.finest("No Columns - SQL=" + sql + " - ID=" + format.get_ID());
return null;
}
@ -1192,7 +1192,7 @@ public class DataEngine
// Check last Group Change
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];
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
/**
* Sting Representation
* String Representation
* @return info
*/
public String toString()

View File

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

View File

@ -45,7 +45,7 @@ import org.w3c.dom.Element;
/**
* Print Data Structure.
* 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).
* The row data is sparse - i.e. null if not existing.
* A Structure has optional meta info about content (PrintDataColumn).

View File

@ -223,7 +223,7 @@ public class PrintUtil
/**
* Print Async
* @param pageable pageable
* @param prats print attribure set
* @param prats print attribute set
*/
static public void print (Pageable pageable, PrintRequestAttributeSet prats)
{
@ -235,7 +235,7 @@ public class PrintUtil
/**
* Print
* @param job printer job
* @param prats print attribure set
* @param prats print attribute set
* @param withDialog if true shows Dialog
* @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
* @param file file
* @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
*/
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
* @param file file
* @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
* @return true if success
*/
@ -660,7 +660,7 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount)
* Write HTML to writer
* @param writer writer
* @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
*/
public boolean createHTML (Writer writer, boolean onlyTable, Language language)

View File

@ -21,7 +21,7 @@ import java.awt.geom.Dimension2D;
import java.io.Serializable;
/**
* 2D Dimesnion Implementation
* 2D Dimension Implementation
*
* @author Jorg Janke
* @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.
* Restrictions:
* - Label is not printed
* - Alighnment is ignored
* - Alignment is ignored
*
* @author Jorg Janke
* @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())
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 (int i = 0; i < m_format.getItemCount(); i++)
{
@ -1441,7 +1441,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
// Get Color/ Font
Color color = getColor(); // default
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())
{
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();
if (p_maxHeight == -1f && i == 0) // one line only
p_maxHeight = lineHeight;
// If we have hight left over
// If we have height left over
if (p_maxHeight == 0f || (height + lineHeight) <= p_maxHeight)
{
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
*
* @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 columnJustification field justification for column
*
@ -109,7 +109,7 @@ public class TableElement extends PrintElement
* @param firstPage bounds on first page
* @param nextPages bounds on following 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 rowColColor HashMap with Point as key with foreground Color overwrite
@ -1722,7 +1722,7 @@ public class TableElement extends PrintElement
}
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));
if (nextIsFunction && m_functionRows.contains(Integer.valueOf(row)))
nextIsFunction = false; // this is a function line too

View File

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

View File

@ -301,7 +301,7 @@ public class ServerProcessCtl implements Runnable {
/**************************************************************************
* 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
* org adempiere.process or org.compiere.model) or a client only class
* (e.g. in org.compiere.report)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -181,7 +181,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
} // MWFActivity
/**
* Parent Contructor
* Parent Constructor
* @param process process
* @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 AD_WF_NodeNext_ID id
* @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_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_To_C_BankAccount_ID= 0; // Bank Account To
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>
* <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>

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
* 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
* garbage collected and the context temp dir deleteted.
* garbage collected and the context temp dir deleted.
*/
public class ProxyContext {
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
* @param directory - the directory to delete.
* @return was the delete succesful
* @return was the delete successful
*/
protected static boolean deleteDirectory(File directory) {
if (directory.exists() && directory.isDirectory()) {

View File

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

View File

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

View File

@ -50,7 +50,7 @@ public class ALayout implements LayoutManager2
} // ALayout
/**
* Detail Contructor
* Detail Constructor
* @param spaceH horizontal space (top, between rows, button)
* @param spaceV vertical space (left, between columns, right)
* @param colFill fields are fully filled (rather then preferred size)
@ -162,7 +162,7 @@ public class ALayout implements LayoutManager2
/**
* Calculate Layout Size
* @param parent Parent Container
* @param how P=Preferred - M=Maximum = m=Mimimum
* @param how P=Preferred - M=Maximum = m=Minimum
* @return Size
*/
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 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)
{
@ -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 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)
*/
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
* @return true of OK visisble
* @return true of OK visible
*/
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("Z", "Five digit zip matches, address not");
AVSCodes.put("N", "No Part matches");
AVSCodes.put("U", "Address info unabailable");
AVSCodes.put("U", "Address info unavailable");
AVSCodes.put("R", "Retry");
AVSCodes.put("S", "AVS not supported");
AVSCodes.put("E", "AVS not supported for this industry");

View File

@ -201,7 +201,7 @@ public final class PP_PayFlowPro extends PaymentProcessor
else
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;
} // process

View File

@ -210,7 +210,7 @@ public final class PP_PayFlowPro4 extends PaymentProcessor
// Following lines of code are optional.
// 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.
String transErrors = m_pp.getTransactionContext().toString();

View File

@ -84,7 +84,7 @@ public class ColumnElementHandler extends AbstractElementHandler {
&& mColumn.is_ValueChanged(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));
}

View File

@ -104,7 +104,7 @@ public class ReportViewElementHandler extends AbstractElementHandler {
AttributesImpl atts = new AttributesImpl();
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);
try {
tableHandler.packOut(packOut, document, null, m_Reportview.getAD_Table_ID());

View File

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

View File

@ -254,7 +254,7 @@ public class ExportHelper {
// process single XML Attribute
// Create new element
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) {
throw new Exception(Msg.getMsg (masterPO.getCtx(), "EXPColumnMandatory"));
}

View File

@ -296,7 +296,7 @@ public class ImportHelper {
// and set value of column!
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() + "]");
//Get the value
Object value = getValueFromFormat(formatLine,po,rootElement,result,ReplicationType);
@ -343,7 +343,7 @@ public class ImportHelper {
String xPath = null;
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);
if (log.isLoggable(Level.INFO)) log.info("referencedNode = " + referencedNode);

View File

@ -100,7 +100,7 @@ java.lang.Object
<DL>
<DT><B>Author:</B></DT>
<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>
<HR>
@ -434,8 +434,8 @@ private java.io.File <B>getRemoteFile</B>(java.lang.String&nbsp;reportLocation,
</DL>
</DD>
<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>Returns:</B><DD>abstract File wich represent the downloaded file</DL>
<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 which represents the downloaded file</DL>
</DD>
</DL>
<HR>

View File

@ -27,7 +27,7 @@ import net.sf.jasperreports.export.SimpleExporterConfiguration;
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
* @author hieplq
*

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