Committed by
Ray Milkey
Try explicit class casting to remove warning message
Change-Id: If7830a12e0405c5b37f6e864bd7dfb915871959f
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -152,7 +152,7 @@ public class NetworkConfigWebResource extends AbstractWebResource { | ... | @@ -152,7 +152,7 @@ public class NetworkConfigWebResource extends AbstractWebResource { |
152 | nullIsNotFound(service.getConfigClass(subjectClassKey, configKey), | 152 | nullIsNotFound(service.getConfigClass(subjectClassKey, configKey), |
153 | configKeyNotFoundErrorString(subjectClassKey, subjectKey, configKey)); | 153 | configKeyNotFoundErrorString(subjectClassKey, subjectKey, configKey)); |
154 | Config config = | 154 | Config config = |
155 | - nullIsNotFound(service.getConfig(subject, configClass), | 155 | + (Config) nullIsNotFound(service.getConfig(subject, configClass), |
156 | configKeyNotFoundErrorString(subjectClassKey, | 156 | configKeyNotFoundErrorString(subjectClassKey, |
157 | subjectKey, | 157 | subjectKey, |
158 | configKey)); | 158 | configKey)); | ... | ... |
-
Please register or login to post a comment