IDEMPIERE-455 Discover and fix FindBugs problems / Pattern OS_OPEN_STREAM / Fix problem created closing the stream before reading it
This commit is contained in:
parent
6c06ec9f47
commit
4d83adf841
|
@ -156,6 +156,7 @@ public class KeyStoreMgt
|
|||
try
|
||||
{
|
||||
is = new FileInputStream (m_file);
|
||||
m_keyStore.load(is, m_password);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -170,7 +171,6 @@ public class KeyStoreMgt
|
|||
is = null;
|
||||
}
|
||||
}
|
||||
m_keyStore.load(is, m_password);
|
||||
}
|
||||
else
|
||||
return null; // does not exist
|
||||
|
|
Loading…
Reference in New Issue