Remove unwanted code linei

feature/appm-store/pbac
Jayasanka 5 years ago
parent 5a32912a7b
commit 01de8aa665

@ -1872,7 +1872,6 @@ public class ApplicationManagerImpl implements ApplicationManager {
this.applicationDAO.deleteAppCategories(categoryIds, applicationId, tenantId); this.applicationDAO.deleteAppCategories(categoryIds, applicationId, tenantId);
appCategories.removeAll(removingAppCategories); appCategories.removeAll(removingAppCategories);
} }
applicationDTO.setAppCategories(appCategories);
} }
List<String> updatingAppTags = applicationUpdateWrapper.getTags(); List<String> updatingAppTags = applicationUpdateWrapper.getTags();
@ -1895,7 +1894,6 @@ public class ApplicationManagerImpl implements ApplicationManager {
this.applicationDAO.deleteApplicationTags(removingTagIds, applicationId, tenantId); this.applicationDAO.deleteApplicationTags(removingTagIds, applicationId, tenantId);
appTags.removeAll(removingTagList); appTags.removeAll(removingTagList);
} }
applicationDTO.setTags(appTags);
} }
if (!applicationDAO.updateApplication(applicationDTO, tenantId)){ if (!applicationDAO.updateApplication(applicationDTO, tenantId)){
ConnectionManagerUtil.rollbackDBTransaction(); ConnectionManagerUtil.rollbackDBTransaction();

Loading…
Cancel
Save