Skip to content

Commit

Permalink
#12999 - Fixes after code review
Browse files Browse the repository at this point in the history
  • Loading branch information
acurionedotcms committed Dec 14, 2017
1 parent 0ecb6c7 commit a5e7a50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public static List<MultiTree> getContainerStructureMultiTree(String containerIde

return dh.list();

} catch (Exception e) {
} catch (DotHibernateException e) {
Logger.error(MultiTreeFactory.class, "getContainerStructureMultiTree failed:" + e, e);
throw new DotRuntimeException(e.toString());
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package com.dotmarketing.portlets.containers.action;

import com.dotmarketing.beans.MultiTree;
import com.dotmarketing.business.FactoryLocator;
import com.dotmarketing.factories.MultiTreeFactory;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
Expand Down Expand Up @@ -572,7 +570,6 @@ public void _saveWebAsset(ActionRequest req, ActionResponse res,
String structuresIdsStr = req.getParameter("structuresIds");

String[] structuresIds = structuresIdsStr.split("#");
List<String> unusedStructures = new ArrayList<>();

for (String structureId : structuresIds) {
String code = req.getParameter("code_"+structureId);
Expand Down

0 comments on commit a5e7a50

Please sign in to comment.