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
49603ed8
Commit
49603ed8
authored
4 years ago
by
Daniel Rainer
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused import
parent
db7150ce
2 merge requests
!17
Initial Merge to Prepare Release 1.0.0
,
!1
Resolve "Metadaten konsolideren"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/at/ac/uibk/gitsearch/web/rest/SearchResource.java
+5
-6
5 additions, 6 deletions
...in/java/at/ac/uibk/gitsearch/web/rest/SearchResource.java
with
5 additions
and
6 deletions
src/main/java/at/ac/uibk/gitsearch/web/rest/SearchResource.java
+
5
−
6
View file @
49603ed8
...
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestParam;
...
@@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestParam;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
at.ac.uibk.gitsearch.es.model.DocumentInfo
;
import
at.ac.uibk.gitsearch.es.model.DocumentInfo
;
import
at.ac.uibk.gitsearch.repository.search.SearchRepositoryConstants
;
import
at.ac.uibk.gitsearch.service.SearchService
;
import
at.ac.uibk.gitsearch.service.SearchService
;
import
at.ac.uibk.gitsearch.service.dto.SearchInputDTO
;
import
at.ac.uibk.gitsearch.service.dto.SearchInputDTO
;
import
at.ac.uibk.gitsearch.service.dto.SearchResultsDTO
;
import
at.ac.uibk.gitsearch.service.dto.SearchResultsDTO
;
...
@@ -48,10 +47,10 @@ public class SearchResource {
...
@@ -48,10 +47,10 @@ public class SearchResource {
log
.
debug
(
"REST request to search {}"
,
query
);
log
.
debug
(
"REST request to search {}"
,
query
);
return
searchService
.
searchResultPage
(
query
,
SearchInputDTO
.
PAGE_SIZE
*
query
.
getPage
(),
SearchInputDTO
.
PAGE_SIZE
);
return
searchService
.
searchResultPage
(
query
,
SearchInputDTO
.
PAGE_SIZE
*
query
.
getPage
(),
SearchInputDTO
.
PAGE_SIZE
);
}
}
/**
/**
* returns all keyword autocompletes for keyWord
* returns all keyword autocompletes for keyWord
*
*
* @param keyWordPrefix
* @param keyWordPrefix
* @return
* @return
* @throws IOException
* @throws IOException
...
@@ -63,7 +62,7 @@ public class SearchResource {
...
@@ -63,7 +62,7 @@ public class SearchResource {
/**
/**
* returns all creator autocompletes
* returns all creator autocompletes
*
*
* @param creatorPrefix
* @param creatorPrefix
* @return
* @return
* @throws IOException
* @throws IOException
...
@@ -75,7 +74,7 @@ public class SearchResource {
...
@@ -75,7 +74,7 @@ public class SearchResource {
/**
/**
* returns all contributor autocompletes
* returns all contributor autocompletes
*
*
* @param contributorPrefix
* @param contributorPrefix
* @return
* @return
* @throws IOException
* @throws IOException
...
@@ -87,7 +86,7 @@ public class SearchResource {
...
@@ -87,7 +86,7 @@ public class SearchResource {
/**
/**
* returns all programmingLanguage autocompletes for keyWord
* returns all programmingLanguage autocompletes for keyWord
*
*
* @param progammingLanguagePrefix
* @param progammingLanguagePrefix
* @return
* @return
* @throws IOException
* @throws IOException
...
...
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