diff --git a/jpos/src/main/java/org/jpos/security/BaseSMAdapter.java b/jpos/src/main/java/org/jpos/security/BaseSMAdapter.java index dd1b65b7a2..138f9bc094 100644 --- a/jpos/src/main/java/org/jpos/security/BaseSMAdapter.java +++ b/jpos/src/main/java/org/jpos/security/BaseSMAdapter.java @@ -112,8 +112,8 @@ public String getName () { * @throws NotFoundException * @see NameRegistrar */ - public static SMAdapter getSMAdapter (String name) throws NameRegistrar.NotFoundException { - return (SMAdapter)NameRegistrar.get("s-m-adapter." + name); + public static SMAdapter getSMAdapter (String name) throws NameRegistrar.NotFoundException { + return NameRegistrar.get("s-m-adapter." + name); } @Override