commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <rahul.akol...@gmail.com>
Subject Re: svn commit: r432025 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ToStringStyle.java
Date Wed, 16 Aug 2006 21:12:39 GMT
On 8/16/06, ggregory@apache.org <ggregory@apache.org> wrote:
> Author: ggregory
> Date: Wed Aug 16 13:36:35 2006
> New Revision: 432025
>
> URL: http://svn.apache.org/viewvc?rev=432025&view=rev
> Log:
> Access to enclosing constructors is emulated by a synthetic accessor methods. Increasing
its visibility will improve your performance (Eclipse compiler).
>
<snip/>

I've seen this discussion numerous times on various forums and often
it comes down to whether breaking the encapsulation is worth heeding
the synthetic accessor warning (a search should yield many related
results).

-Rahul


> Modified:
>     jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ToStringStyle.java
>
> Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ToStringStyle.java
> URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ToStringStyle.java?rev=432025&r1=432024&r2=432025&view=diff
> ==============================================================================
> --- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ToStringStyle.java
(original)
> +++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ToStringStyle.java
Wed Aug 16 13:36:35 2006
> @@ -1993,7 +1993,7 @@
>           *
>           * <p>Use the static constant rather than instantiating.</p>
>           */
> -        private DefaultToStringStyle() {
> +        protected DefaultToStringStyle() {
>              super();
>          }
<snap/>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message