Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
The console example refers to initDeviceData() that it should only be called once.
//load the device data, do this only once!!!
client.initDeviceData(LoaderOption.JAR);
If there is never or rarely a need to call it again, could the DeviceMapClient class not get a static factory/constructor method like
DeviceMapClient.of(LoaderOption) or something like that?
The of() notion is quite popular recently, but any variation like valueOf() or getInstance() might work, too.