From 72c1583ffd7e2f7c899ac92c159d51baf592dad7 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Sat, 14 Jan 2012 20:54:35 -0800 Subject: [PATCH] allow validator to be used outside class hierarchy --- .../org/jclouds/predicates/validators/DnsNameValidator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/jclouds/predicates/validators/DnsNameValidator.java b/core/src/main/java/org/jclouds/predicates/validators/DnsNameValidator.java index 06fe2004fe..74db196c46 100644 --- a/core/src/main/java/org/jclouds/predicates/validators/DnsNameValidator.java +++ b/core/src/main/java/org/jclouds/predicates/validators/DnsNameValidator.java @@ -43,7 +43,7 @@ public class DnsNameValidator extends Validator { private int max; @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) { this.min = min; this.max = max;