Skip to content

Commit

Permalink
exposing Schema.TagField constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbWarden authored and gkorland committed Feb 18, 2019
1 parent 3e90fca commit 2912f47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/redisearch/Schema.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ public static class TagField extends Field {

private final String separator;

private TagField(String name) {
public TagField(String name) {
this(name, DEFAULT_SEPARATOR);
}

private TagField(String name, String separator) {
public TagField(String name, String separator) {
super(name, FieldType.Tag, false);
this.separator = separator;
}
Expand Down

0 comments on commit 2912f47

Please sign in to comment.