Commit 9887cff8 authored by wansari's avatar wansari

Updated source for proper variable name for connection parameter as conn


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@43824 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 898472a8
......@@ -20,18 +20,18 @@ import javax.imageio.ImageIO;
public class DistUtility extends ValidatorEJB
{
public String getImagePath(String tranWindow, String tranId, String altColVal, String folderName, Connection connection) throws ITMException
public String getImagePath(String tranWindow, String tranId, String altColVal, String folderName, Connection conn) throws ITMException
{
System.out.println("Common utility to get image path");
String retImgPath = "", refSer = "", docId = "", docType = "", objName = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
String sql = "";
Connection conn = null;
//Connection conn = null;
try
{
if (connection == null)
if (conn == null)
{
conn = getConnection();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment