Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Remove unused throws for paging #207
Browse files Browse the repository at this point in the history
  • Loading branch information
FroMage committed Nov 23, 2015
1 parent f64a01b commit f50f69f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/Projects.java
Expand Up @@ -70,7 +70,7 @@ public static void allClaims(Integer page) {
}

@Check("admin")
public static void search(String q, Integer page) throws UnsupportedEncodingException {
public static void search(String q, Integer page) {
if(StringUtils.isEmpty(q))
allClaims(page);
if(page == null)
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/Repo.java
Expand Up @@ -92,7 +92,7 @@ public static void versions(@Required String moduleName){
render(module, versions);
}

public static void search(String q, Integer page) throws UnsupportedEncodingException {
public static void search(String q, Integer page) {
if (isEmpty(q)) {
index(null);
}
Expand Down

0 comments on commit f50f69f

Please sign in to comment.