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
Merge requests
!150
Fix pmd warnings
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Fix pmd warnings
fix_pmd_warnings
into
development
Overview
0
Commits
19
Pipelines
0
Changes
16
Closed
Administrator
requested to merge
fix_pmd_warnings
into
development
2 years ago
Overview
0
Commits
19
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
version 2
version 3
5ae33e8e
2 years ago
version 2
e8e47aef
2 years ago
version 1
2aa30d5d
2 years ago
development (base)
and
latest version
latest version
4cc98a93
19 commits,
2 years ago
version 3
5ae33e8e
18 commits,
2 years ago
version 2
e8e47aef
17 commits,
2 years ago
version 1
2aa30d5d
16 commits,
2 years ago
Show latest version
2 files
+
16
−
2
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/main/java/at/ac/uibk/gitsearch/service/GitlabService.java
+
10
−
2
Options
@@ -146,7 +146,11 @@ public class GitlabService {
file
=
gitLabApi
.
getRepositoryFileApi
()
.
getFile
(
Long
.
valueOf
(
exercise
.
getProject
().
getProjectId
()),
filePath
,
exercise
.
getFile
().
getCommit_id
());
.
getFile
(
Long
.
valueOf
(
exercise
.
getProject
().
getProjectId
()),
exerciseId
.
extendPath
(
filePath
),
exercise
.
getFile
().
getCommit_id
()
);
return
new
ByteArrayInputStream
(
file
.
getDecodedContentAsBytes
());
}
catch
(
GitLabApiException
e
)
{
log
.
warn
(
@@ -168,7 +172,11 @@ public class GitlabService {
gitLabRepository
.
getAdminGitLabApi
()
.
getRepositoryFileApi
()
.
getFile
(
Long
.
valueOf
(
exercise
.
getProject
().
getProjectId
()),
filePath
,
exercise
.
getFile
().
getCommit_id
());
.
getFile
(
Long
.
valueOf
(
exercise
.
getProject
().
getProjectId
()),
exerciseId
.
extendPath
(
filePath
),
exercise
.
getFile
().
getCommit_id
()
);
return
new
ByteArrayInputStream
(
file
.
getDecodedContentAsBytes
());
}