when parent mapping is set, fix setting routing to required

This commit is contained in:
kimchy 2010-12-27 18:41:28 +02:00
parent d560ceabe4
commit d73a459f1e
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public class RoutingFieldMapper extends AbstractFieldMapper<String> implements o
} }
public void markAsRequired() { public void markAsRequired() {
this.required = required; this.required = true;
} }
@Override public boolean required() { @Override public boolean required() {