Jian Li

Fix compile time NPE which is encountered in Eclipse IDE

Change-Id: Id447967ad6c7c68f4a6e5c562e7245029a89902f
......@@ -151,8 +151,7 @@ public class NetworkConfigWebResource extends AbstractWebResource {
Class configClass =
nullIsNotFound(service.getConfigClass(subjectClassKey, configKey),
configKeyNotFoundErrorString(subjectClassKey, subjectKey, configKey));
Config config =
(Config) nullIsNotFound(service.getConfig(subject, configClass),
Config config = nullIsNotFound((Config) service.getConfig(subject, configClass),
configKeyNotFoundErrorString(subjectClassKey,
subjectKey,
configKey));
......