fix getInstance label typo
This commit is contained in:
@@ -256,7 +256,7 @@ public class SimpleMessaging implements IMessaging, EventHandler<ValueEvent> {
|
|||||||
Class<?> clazz = Class.forName(className);
|
Class<?> clazz = Class.forName(className);
|
||||||
|
|
||||||
// check if method getInstance exists
|
// check if method getInstance exists
|
||||||
Method method = clazz.getMethod("getInstace", new Class[] {});
|
Method method = clazz.getMethod("getInstance", new Class[] {});
|
||||||
try {
|
try {
|
||||||
instance = method.invoke(null, new Object[] {});
|
instance = method.invoke(null, new Object[] {});
|
||||||
} catch (IllegalArgumentException | InvocationTargetException | IllegalAccessException ex) {
|
} catch (IllegalArgumentException | InvocationTargetException | IllegalAccessException ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user