* make sure workflow tag is close.

This commit is contained in:
Heng Sin Low 2007-07-28 01:58:16 +00:00
parent c92824e67b
commit ad4c865a4a
1 changed files with 4 additions and 5 deletions

View File

@ -191,10 +191,8 @@ public class WorkflowElementHandler extends AbstractElementHandler {
+ AD_Workflow_ID; + AD_Workflow_ID;
PreparedStatement pstmt1 = null; PreparedStatement pstmt1 = null;
pstmt1 = DB.prepareStatement(sql1, getTrxName(ctx));
try { try {
pstmt1 = DB.prepareStatement(sql1, getTrxName(ctx));
// Generated workflowNodeNext(s) and // Generated workflowNodeNext(s) and
// workflowNodeNextCondition(s) // workflowNodeNextCondition(s)
ResultSet rs1 = pstmt1.executeQuery(); ResultSet rs1 = pstmt1.executeQuery();
@ -238,9 +236,10 @@ public class WorkflowElementHandler extends AbstractElementHandler {
} catch (Exception e) { } catch (Exception e) {
} }
pstmt1 = null; pstmt1 = null;
}
document.endElement("", "", "workflow"); document.endElement("", "", "workflow");
} }
}
rs.close(); rs.close();
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;