Code cleanup and Typo fixes.

Co-effort by Felix and Trifon.
This commit is contained in:
trifonnt 2009-10-09 14:32:01 +00:00
parent fc21ce058b
commit 6f46c586bd
12 changed files with 18 additions and 39 deletions

View File

@ -1,16 +0,0 @@
Variables not resolved:
J2EE
SYBASE_JDBC3
Variables resolved:
BARBECUE
COMMONS_BEANUTILS
COMMONS_COLLECTIONS
COMMONS_DIGESTER
COMMONS_LOGGING
IREPORT
JASPERREPORTS
ORACLE
POSTGRESQL
SYBASE
XERCES

View File

@ -1 +0,0 @@
*.class

Binary file not shown.

View File

@ -379,7 +379,7 @@ public class ReportStarter implements ProcessCall, ClientProcess
return false;
}
String reportPath = reportData.getReportFilePath();
String reportPath = reportData.getReportFilePath();
if (Util.isEmpty(reportPath, true))
{
reportResult(AD_PInstance_ID, "Can not find report", trxName);

View File

@ -450,15 +450,11 @@ public class PackOut extends SvrProcess
}
//create compressed packages
//set the files
File srcFolder = new File("");
File destZipFile = new File("");
File destTarFile = new File("");
File destGZipFile = new File("");
srcFolder = (new File(packagedir));
destZipFile = (new File(packagename+".zip"));
destTarFile = (new File(packagename+".tar"));
destGZipFile = (new File(packagename+".tar.gz"));
//set the files
File srcFolder = new File(packagedir);
File destZipFile = new File(packagename+".zip");
File destTarFile = new File(packagename+".tar");
File destGZipFile = new File(packagename+".tar.gz");
//delete the old packages if necessary
boolean success = destZipFile.delete();

View File

@ -109,7 +109,7 @@ public final class MSetup
// info header
m_info = new StringBuffer();
// Standarc columns
// Standard columns
String name = null;
String sql = null;
int no = 0;

View File

@ -14,7 +14,7 @@
package org.compiere.process;
/**
* Marker interface to markt that a process can only be run on the client
* Marker interface to mark that a process can only be run on the client
* side.
* @author Low Heng Sin
*/

View File

@ -89,7 +89,7 @@ public class ProcessInfo implements Serializable
// -- Optional --
/** Pricess Instance ID */
/** Process Instance ID */
private int m_AD_PInstance_ID = 0;
/** Summary of Execution */

View File

@ -33,16 +33,16 @@ public class HistoryFilterBean
private TreeSet<UDIPair> bPartnerList = new TreeSet<UDIPair>();
private TreeSet<UDIPair> docStatusList = new TreeSet<UDIPair>();
public HistoryFilterBean(ArrayList beans)
public HistoryFilterBean(ArrayList<FilterBean> beans)
{
if(beans!=null)
{
Iterator iter = beans.iterator();
Iterator<FilterBean> iter = beans.iterator();
while(iter.hasNext())
{
FilterBean bean = (FilterBean) iter.next();
FilterBean bean = iter.next();
if(bean.getPartnerId()!=null)
{
@ -61,12 +61,12 @@ public class HistoryFilterBean
}
public TreeSet getBPartnerList()
public TreeSet<UDIPair> getBPartnerList()
{
return bPartnerList;
}
public TreeSet getDocStatusList()
public TreeSet<UDIPair> getDocStatusList()
{
return docStatusList;
}

View File

@ -106,8 +106,8 @@ public class SessionStorage
{
HistoryFilterBean orderHistoryBeans = new HistoryFilterBean(orderHistory);
TreeSet bPartners = orderHistoryBeans.getBPartnerList();
TreeSet docStatus = orderHistoryBeans.getDocStatusList();
TreeSet<UDIPair> bPartners = orderHistoryBeans.getBPartnerList();
TreeSet<UDIPair> docStatus = orderHistoryBeans.getDocStatusList();
request.getSession().setAttribute(Constants.BPARTNER, bPartners);
request.getSession().setAttribute(Constants.DOC_STATUS, docStatus);

View File

@ -10,7 +10,7 @@ The script will have to be adjusted to your own environment
by setting the appropriate variables.
One advantage of this script is that it really waits until
the server decalres it is started up or shut down before
the server declares it is started up or shut down before
echoing "[OK]" to the screen.
A major disadvantage is that it runs the server as root,

View File

@ -3,7 +3,7 @@
<!-- This sample xslt is for transform an xml validated by adempiereTrl.dtd -->
<!-- to destination xml, which printed optional attributes trl as an sub-element of row element-->
<!-- orginal as sub-element of value element-->
<!-- original as sub-element of value element-->
<!-- Author: Bui Chi Trung -->