This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 61de95f5 authored by Michael Breu's avatar Michael Breu
Browse files

Fixing PMD

parent 5f6eb25e
Branches
2 merge requests!211Merge new meta data indexing,!205415 download von resourcen bugs
......@@ -27,6 +27,9 @@ import org.springframework.util.StreamUtils;
/**
* service to re-package a gitlab zip. Chop off leading root directory and
* filter out unpublished entries.
* TODO: Refactor this method
* - define, when dealing with initial slashes allowed/expected
* - define, when directories must contain trailing slashes
*
* @author Michael Breu
*/
......@@ -241,7 +244,7 @@ public class ZipRepackagingService {
* @return
*/
@SuppressWarnings({ "PMD.CognitiveComplexity", "PMD.CyclomaticComplexity" })
@SuppressWarnings({ "PMD.CognitiveComplexity", "PMD.CyclomaticComplexity", "PMD.ExcessiveMethodLength" })
protected static List<String> getApplicableFilters(final String exercisePathF, TreeNode<SearchResultDTO> currentTreeNode) {
if (exercisePathF == null) {
return new ArrayList<>();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment