Skip to content

Commit

Permalink
remove redundant instanceof, filter is a jrds.Filter
Browse files Browse the repository at this point in the history
  • Loading branch information
panthony authored and fbacchella committed Apr 23, 2015
1 parent f51fa7e commit f889268
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/jrds/webapp/ParamsBean.java
Expand Up @@ -423,10 +423,8 @@ private void addMinMaxArgs(Map<String, Object> args) {
private void addFilterArgs(Map<String, Object> args) {
if(filter instanceof jrds.FilterHost) {
args.put("host", filter.getName());
}
else if (filter instanceof jrds.Filter){
} else {
args.put("filter", filter.getName());

}
}

Expand Down

0 comments on commit f889268

Please sign in to comment.