Skip to content

Commit 0712844

Browse files
committed
Require controller constructor argument.
1 parent 09f9e59 commit 0712844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hub/src/main/java/cloud/katta/core/DeviceSetupCallbackFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public DeviceSetupCallback create(final Controller controller) {
4343
/**
4444
* @return Firs tLogin Device Setup Callback instance for the current platform.
4545
*/
46-
public static synchronized DeviceSetupCallback get() {
46+
public static synchronized DeviceSetupCallback get(final Controller controller) {
4747
if(null == singleton) {
4848
singleton = new DeviceSetupCallbackFactory();
4949
}
50-
return singleton.create();
50+
return singleton.create(controller);
5151
}
5252
}

0 commit comments

Comments
 (0)