removed cast

pull/90/head
Cristi Popovici 11 years ago
parent 0427d48fb6
commit 9a78982f30

@ -89,7 +89,7 @@ public class HikariJNDIFactory implements ObjectFactory
if (jndiDS == null) {
try {
context = (Context) (new InitialContext());
context = new InitialContext();
jndiDS = (DataSource) context.lookup(jndiName);
}
catch (NamingException e) {

Loading…
Cancel
Save