Code cleanup and Typo fixes.
Co-effort by Felix and Trifon.
This commit is contained in:
parent
fc21ce058b
commit
6f46c586bd
|
@ -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
|
|
@ -1 +0,0 @@
|
|||
*.class
|
Binary file not shown.
|
@ -451,14 +451,10 @@ 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"));
|
||||
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();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 -->
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue