diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-01-15 23:35:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-01-15 23:35:51 +0000 |
commit | 6d3cc4662712bb636b83f8a4da9938afe192a64a (patch) | |
tree | 6810d7f0a3e05a5d6542ddd3dcca629bb1a05208 /POLICY-SDK-APP/src/main | |
parent | fb3cc27605623672fb8971bd9030872f117c7af8 (diff) | |
parent | 802c346cd78a9fa65051698670f2fbe0c54ea180 (diff) |
Merge "Fixed as per Java Code Conventions"
Diffstat (limited to 'POLICY-SDK-APP/src/main')
-rw-r--r-- | POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AdminTabController.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AdminTabController.java b/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AdminTabController.java index 1a43c7646..4893522ef 100644 --- a/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AdminTabController.java +++ b/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AdminTabController.java @@ -55,23 +55,23 @@ public class AdminTabController extends RestrictedBaseController{ private static CommonClassDao commonClassDao; - public static CommonClassDao getCommonClassDao() { - return commonClassDao; + public AdminTabController() { + //default constructor } - public static void setCommonClassDao(CommonClassDao commonClassDao) { - AdminTabController.commonClassDao = commonClassDao; - } - @Autowired private AdminTabController(CommonClassDao commonClassDao){ AdminTabController.commonClassDao = commonClassDao; } - - public AdminTabController() { - //default constructor + + public static CommonClassDao getCommonClassDao() { + return commonClassDao; } + public static void setCommonClassDao(CommonClassDao commonClassDao) { + AdminTabController.commonClassDao = commonClassDao; + } + @RequestMapping(value={"/get_LockDownData"}, method={org.springframework.web.bind.annotation.RequestMethod.GET} , produces=MediaType.APPLICATION_JSON_VALUE) public void getAdminTabEntityData(HttpServletRequest request, HttpServletResponse response){ try{ |