commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/builder ToStringStyle.java
Date Fri, 22 Nov 2002 21:16:24 GMT
scolebourne    2002/11/22 13:16:24

  Modified:    lang/src/java/org/apache/commons/lang/builder
                        ToStringStyle.java
  Log:
  Changed inner classes to be package scoped for JDK 1.2
  
  Revision  Changes    Path
  1.6       +9 -9      jakarta-commons/lang/src/java/org/apache/commons/lang/builder/ToStringStyle.java
  
  Index: ToStringStyle.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/builder/ToStringStyle.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ToStringStyle.java	17 Nov 2002 21:46:42 -0000	1.5
  +++ ToStringStyle.java	22 Nov 2002 21:16:24 -0000	1.6
  @@ -1800,14 +1800,14 @@
        * <p>This is an inner class rather than using
        * <code>StandardToStringStyle</code> to ensure its immutability.</p>
        */
  -    private static final class DefaultToStringStyle extends ToStringStyle {
  +    static final class DefaultToStringStyle extends ToStringStyle {
           
           /**
            * <p>Constructor</p>
            *
            * <p>Use the static constant rather than instantiating.</p>
            */
  -        private DefaultToStringStyle() {
  +        DefaultToStringStyle() {
               super();
           }
           
  @@ -1831,14 +1831,14 @@
        * <p>This is an inner class rather than using
        * <code>StandardToStringStyle</code> to ensure its immutability.
        */
  -    private static final class NoFieldNameToStringStyle extends ToStringStyle {
  +    static final class NoFieldNameToStringStyle extends ToStringStyle {
           
           /**
            * <p>Constructor</p>
            *
            * <p>Use the static constant rather than instantiating.</p>
            */
  -        private NoFieldNameToStringStyle() {
  +        NoFieldNameToStringStyle() {
               super();
               setUseFieldNames(false);
           }
  @@ -1863,14 +1863,14 @@
        * <p>This is an inner class rather than using
        * <code>StandardToStringStyle</code> to ensure its immutability.</p>
        */
  -    private static final class SimpleToStringStyle extends ToStringStyle {
  +    static final class SimpleToStringStyle extends ToStringStyle {
           
           /**
            * <p>Constructor</p>
            *
            * <p>Use the static constant rather than instantiating.</p>
            */
  -        private SimpleToStringStyle() {
  +        SimpleToStringStyle() {
               super();
               setUseClassName(false);
               setUseIdentityHashCode(false);
  @@ -1897,14 +1897,14 @@
        * <p>This is an inner class rather than using
        * <code>StandardToStringStyle</code> to ensure its immutability.</p>
        */
  -    private static final class MultiLineToStringStyle extends ToStringStyle {
  +    static final class MultiLineToStringStyle extends ToStringStyle {
   
           /**
            * <p>Constructor</p>
            *
            * <p>Use the static constant rather than instantiating.</p>
            */
  -        private MultiLineToStringStyle() {
  +        MultiLineToStringStyle() {
               super();
               setContentStart("[" + SystemUtils.LINE_SEPARATOR + "  ");
               setFieldSeparator(SystemUtils.LINE_SEPARATOR + "  ");
  
  
  

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


Mime
View raw message