From 1de86759c888bad495ae5e5b76eafff1386c77ae Mon Sep 17 00:00:00 2001 From: Johannes Dahlström Date: Mon, 24 Sep 2012 15:59:15 +0300 Subject: Clarify getValidators() javadoc as per review (#9723) --- server/src/com/vaadin/data/Validatable.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/src/com/vaadin/data/Validatable.java b/server/src/com/vaadin/data/Validatable.java index a91afa1f4d..0b43a8bbcb 100644 --- a/server/src/com/vaadin/data/Validatable.java +++ b/server/src/com/vaadin/data/Validatable.java @@ -67,8 +67,10 @@ public interface Validatable extends Serializable { /** *

* Returns a collection of all validators currently registered for the - * object. The collection may be immutable and it may not be safe to call - * removeValidator for this object while iterating over it. + * object. The collection may be immutable. Calling + * removeValidator for this Validatable while iterating over + * the collection may be unsafe (e.g. may throw + * ConcurrentModificationException.) *

* * @return A collection of validators -- cgit v1.2.3