Commit 3c2931e3 authored by jshaikh's avatar jshaikh

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182278 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 555a224a
......@@ -1360,9 +1360,20 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U
winNameMap.put(tKey, tWinName.substring(tWinName.indexOf("/ibase/")));
}
else
{
//winNameMap.put(tKey, tWinName.trim().substring(2, tWinName.trim().length()));
System.out.println("tWinName-------before trim------["+tWinName+"]");
//-----------------modified by Anjali R. on 18-03-18
if(tWinName.trim().length() > 2 && (tWinName.indexOf("w_") != -1))
{
winNameMap.put(tKey, tWinName.trim().substring(2, tWinName.trim().length()));
}
else
{
winNameMap.put(tKey, tWinName.trim());
}
System.out.println("tWinName-------After trim------["+tWinName+"]");
}
gotUserRights = (String) userRightsMap.get(tKey);
if(gotUserRights == null || gotUserRights.trim().length() == 0){
......
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