Skip to content

Commit

Permalink
Renamed argument to new join filter from 'glue' to 'separator'
Browse files Browse the repository at this point in the history
  • Loading branch information
mbosecke committed Feb 10, 2015
1 parent 7e9b23a commit 419ae30
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class JoinFilter implements Filter {
@Override
public List<String> getArgumentNames() {
List<String> names = new ArrayList<>();
names.add("glue");
names.add("separator");
return names;
}

Expand All @@ -43,8 +43,8 @@ public Object apply(Object input, Map<String, Object> args) {
StringBuilder builder = new StringBuilder();

String glue = null;
if(args.containsKey("glue")){
glue = (String)args.get("glue");
if(args.containsKey("separator")){
glue = (String)args.get("separator");
}

boolean isFirst = true;
Expand Down

0 comments on commit 419ae30

Please sign in to comment.