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);
|
||||
POInfo poInfo = POInfo.getPOInfo(ctx, tableID, getTrxName(ctx));
|
||||
for (int i = 0; i < poInfo.getColumnCount(); i++){
|
||||
String colName = poInfo.getColumnName(i);
|
||||
colValue=null;
|
||||
|
||||
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)
|
||||
{
|
||||
String ParentDir=null;
|
||||
try {
|
||||
ZipFile zipFile = new ZipFile(zipFilepath);
|
||||
Enumeration entries = zipFile.entries();
|
||||
ZipEntry entry = (ZipEntry)entries.nextElement();
|
||||
Enumeration<? extends ZipEntry> entries = zipFile.entries();
|
||||
ZipEntry entry = entries.nextElement();
|
||||
File tempfile = new File(entry.getName());
|
||||
while (tempfile.getParent()!=null)
|
||||
tempfile = tempfile.getParentFile();
|
||||
|
|
|
@ -134,7 +134,6 @@ public class Export extends SvrProcess
|
|||
* Process - Generate Export Format
|
||||
* @return info
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
protected String doIt () throws Exception
|
||||
{
|
||||
outDocument = createNewDocument();
|
||||
|
|
Loading…
Reference in New Issue