commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LANG-487) ToStringBuilder is thread-hostile
Date Sat, 14 Mar 2009 23:06:50 GMT

     [ https://issues.apache.org/jira/browse/LANG-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated LANG-487:
----------------------

    Description: 
ToStringBuilder is thread-hostile due to the use of the static "defaultStyle" variable.

Adding synchronization won't solve this.

  was:
ToStringBuilder is thread-hostile due to the use of the static "defaultStyle" variable.

Adding synchronization won't solve this.

The field only seems to be used now in the get/set methods, so I suspect it could be removed
along with the methods and tests


> ToStringBuilder is thread-hostile
> ---------------------------------
>
>                 Key: LANG-487
>                 URL: https://issues.apache.org/jira/browse/LANG-487
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: Sebb
>
> ToStringBuilder is thread-hostile due to the use of the static "defaultStyle" variable.
> Adding synchronization won't solve this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message