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
43
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
50857f82
Commit
50857f82
authored
4 years ago
by
Daniel Rainer
Browse files
Options
Downloads
Patches
Plain Diff
Make methods static where possible
parent
94613f27
2 merge requests
!17
Initial Merge to Prepare Release 1.0.0
,
!2
Add gitlab metadata
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/at/ac/uibk/gitsearch/repository/search/MetaDataRepository.java
+2
-2
2 additions, 2 deletions
.../uibk/gitsearch/repository/search/MetaDataRepository.java
with
2 additions
and
2 deletions
src/main/java/at/ac/uibk/gitsearch/repository/search/MetaDataRepository.java
+
2
−
2
View file @
50857f82
...
...
@@ -195,7 +195,7 @@ public class MetaDataRepository {
}
}
private
void
addTo
(
Map
<
String
,
Map
<
String
,
Integer
>>
completionMap
,
List
<
String
>
tokenList
,
String
target
)
{
private
static
void
addTo
(
Map
<
String
,
Map
<
String
,
Integer
>>
completionMap
,
List
<
String
>
tokenList
,
String
target
)
{
tokenList
.
forEach
(
token
->
{
Map
<
String
,
Integer
>
existingTargets
=
completionMap
.
get
(
token
);
if
(
existingTargets
==
null
)
{
// none found
...
...
@@ -299,7 +299,7 @@ public class MetaDataRepository {
}
/** Helper **/
private
void
forEachTerm
(
String
searchTerm
,
Consumer
<
String
>
exec
)
{
private
static
void
forEachTerm
(
String
searchTerm
,
Consumer
<
String
>
exec
)
{
if
(
searchTerm
==
null
)
return
;
StringTokenizer
st
=
new
StringTokenizer
(
searchTerm
);
...
...
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