]> source.dussan.org Git - vaadin-framework.git/commitdiff
Clarified javadoc for #4595
authorArtur Signell <artur.signell@itmill.com>
Tue, 11 May 2010 06:26:48 +0000 (06:26 +0000)
committerArtur Signell <artur.signell@itmill.com>
Tue, 11 May 2010 06:26:48 +0000 (06:26 +0000)
svn changeset:13137/svn branch:6.4

src/com/vaadin/data/util/BeanItemContainer.java

index 6d62e892ea83e18f9c13543066d98886d1523c6f..f80a256ff44b29047dc3c39d7a87563aaa9eff61 100644 (file)
@@ -39,11 +39,10 @@ import com.vaadin.data.Property.ValueChangeNotifier;
  * <p>
  * BeanItemContainer uses the beans themselves as identifiers. The
  * {@link Object#hashCode()} of a bean is used when storing and looking up beans
- * so it must not change during the lifetime of the bean. Typically this
- * restricts the implementation of {@link Object#equals(Object)} as well so it
- * does not depend on the contents of the bean. This is not strictly needed but
- * the contract between {@code equals()} and {@code hashCode()} must be
- * fulfilled.
+ * so it must not change during the lifetime of the bean (it should not depend
+ * on any part of the bean that can be modified). Typically this restricts the
+ * implementation of {@link Object#equals(Object)} as well in order for it to
+ * fulfill the contract between {@code equals()} and {@code hashCode()}.
  * </p>
  * 
  * <p>