fix getInstance label typo

This commit is contained in:
Luca Capra
2015-07-23 15:52:56 +02:00
parent ea98ccb8f1
commit 9e7f2b76f7
@@ -256,7 +256,7 @@ public class SimpleMessaging implements IMessaging, EventHandler<ValueEvent> {
Class<?> clazz = Class.forName(className);
// check if method getInstance exists
Method method = clazz.getMethod("getInstace", new Class[] {});
Method method = clazz.getMethod("getInstance", new Class[] {});
try {
instance = method.invoke(null, new Object[] {});
} catch (IllegalArgumentException | InvocationTargetException | IllegalAccessException ex) {