mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Reformatted the code.
This commit is contained in:
parent
3bfb2addbb
commit
3cc15d0df0
@ -239,8 +239,7 @@ public class APIUtil {
|
||||
synchronized (APIUtil.class) {
|
||||
if (commentsManager == null) {
|
||||
PrivilegedCarbonContext ctx = PrivilegedCarbonContext.getThreadLocalCarbonContext();
|
||||
commentsManager =
|
||||
(CommentsManager) ctx.getOSGiService(CommentsManager.class, null);
|
||||
commentsManager = (CommentsManager) ctx.getOSGiService(CommentsManager.class, null);
|
||||
if (commentsManager == null) {
|
||||
String msg = "Comments Manager service has not initialized.";
|
||||
log.error(msg);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user