small cleanups. suggested by eclipse
This commit is contained in:
parent
704fc786ac
commit
a494e56bbe
|
@ -192,7 +192,6 @@ public abstract class AbstractElementHandler implements ElementHandler {
|
||||||
int tableID = get_IDWithColumn(ctx, "AD_Table", "TableName", tableName);
|
int tableID = get_IDWithColumn(ctx, "AD_Table", "TableName", tableName);
|
||||||
POInfo poInfo = POInfo.getPOInfo(ctx, tableID, getTrxName(ctx));
|
POInfo poInfo = POInfo.getPOInfo(ctx, tableID, getTrxName(ctx));
|
||||||
for (int i = 0; i < poInfo.getColumnCount(); i++){
|
for (int i = 0; i < poInfo.getColumnCount(); i++){
|
||||||
String colName = poInfo.getColumnName(i);
|
|
||||||
colValue=null;
|
colValue=null;
|
||||||
|
|
||||||
int columnID =get_IDWithMasterAndColumn (ctx, "AD_Column", "ColumnName", poInfo.getColumnName(i), "AD_Table", tableID);
|
int columnID =get_IDWithMasterAndColumn (ctx, "AD_Column", "ColumnName", poInfo.getColumnName(i), "AD_Table", tableID);
|
||||||
|
|
|
@ -101,11 +101,10 @@ public class CreateZipFile {
|
||||||
}
|
}
|
||||||
static public String getParentDir(File zipFilepath)
|
static public String getParentDir(File zipFilepath)
|
||||||
{
|
{
|
||||||
String ParentDir=null;
|
|
||||||
try {
|
try {
|
||||||
ZipFile zipFile = new ZipFile(zipFilepath);
|
ZipFile zipFile = new ZipFile(zipFilepath);
|
||||||
Enumeration entries = zipFile.entries();
|
Enumeration<? extends ZipEntry> entries = zipFile.entries();
|
||||||
ZipEntry entry = (ZipEntry)entries.nextElement();
|
ZipEntry entry = entries.nextElement();
|
||||||
File tempfile = new File(entry.getName());
|
File tempfile = new File(entry.getName());
|
||||||
while (tempfile.getParent()!=null)
|
while (tempfile.getParent()!=null)
|
||||||
tempfile = tempfile.getParentFile();
|
tempfile = tempfile.getParentFile();
|
||||||
|
|
|
@ -134,7 +134,6 @@ public class Export extends SvrProcess
|
||||||
* Process - Generate Export Format
|
* Process - Generate Export Format
|
||||||
* @return info
|
* @return info
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
protected String doIt () throws Exception
|
protected String doIt () throws Exception
|
||||||
{
|
{
|
||||||
outDocument = createNewDocument();
|
outDocument = createNewDocument();
|
||||||
|
|
Loading…
Reference in New Issue