Documentation

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1298506 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-03-08 18:50:52 +00:00
parent fdb8044745
commit 85848c25a9
1 changed files with 9 additions and 0 deletions

View File

@ -135,6 +135,15 @@ public abstract class ToStringStyle implements Serializable {
*/
private static final ThreadLocal<WeakHashMap<Object, Object>> REGISTRY =
new ThreadLocal<WeakHashMap<Object,Object>>();
/*
* Note that objects of this class are generally shared between threads, so
* an instance variable would not be suitable here.
*
* In normal use the registry should always be left empty, because the caller
* should call toString() which will clean up.
*
* See LANG-792
*/
/**
* <p>