This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
41
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
61de95f5
Commit
61de95f5
authored
1 year ago
by
Michael Breu
Browse files
Options
Downloads
Patches
Plain Diff
Fixing PMD
parent
5f6eb25e
Branches
Branches containing commit
2 merge requests
!211
Merge new meta data indexing
,
!205
415 download von resourcen bugs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/at/ac/uibk/gitsearch/service/ZipRepackagingService.java
+4
-1
4 additions, 1 deletion
...a/at/ac/uibk/gitsearch/service/ZipRepackagingService.java
with
4 additions
and
1 deletion
src/main/java/at/ac/uibk/gitsearch/service/ZipRepackagingService.java
+
4
−
1
View file @
61de95f5
...
...
@@ -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
<>();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment