allow validator to be used outside class hierarchy

This commit is contained in:
Adrian Cole 2012-01-14 20:54:35 -08:00
parent ab6c4181ba
commit 72c1583ffd
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public class DnsNameValidator extends Validator<String> {
private int max; private int max;
@Inject @Inject
protected DnsNameValidator(@Named("jclouds.dns_name_length_min") int min, public DnsNameValidator(@Named("jclouds.dns_name_length_min") int min,
@Named("jclouds.dns_name_length_max") int max) { @Named("jclouds.dns_name_length_max") int max) {
this.min = min; this.min = min;
this.max = max; this.max = max;