commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/builder ToStringStyle.java
Date Fri, 22 Nov 2002 23:20:57 GMT
bayard      2002/11/22 15:20:57

  Modified:    lang/src/java/org/apache/commons/lang/builder Tag:
                        LANG_1_0_BRANCH ToStringStyle.java
  Log:
  Added in explicit this.'s as needed by JDK 1.2's compiler.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.1   +10 -10    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.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- ToStringStyle.java	22 Sep 2002 09:18:32 -0000	1.4
  +++ ToStringStyle.java	22 Nov 2002 23:20:57 -0000	1.4.2.1
  @@ -1655,7 +1655,7 @@
            */
           private NoFieldNameToStringStyle() {
               super();
  -            setUseFieldNames(false);
  +            this.setUseFieldNames(false);
           }
           
           /**
  @@ -1683,11 +1683,11 @@
            */
           private SimpleToStringStyle() {
               super();
  -            setUseClassName(false);
  -            setUseIdentityHashCode(false);
  -            setUseFieldNames(false);
  -            setContentStart("");
  -            setContentEnd("");
  +            this.setUseClassName(false);
  +            this.setUseIdentityHashCode(false);
  +            this.setUseFieldNames(false);
  +            this.setContentStart("");
  +            this.setContentEnd("");
           }
           
           /**
  @@ -1714,9 +1714,9 @@
            */
           private MultiLineToStringStyle() {
               super();
  -            setContentStart("[" + SystemUtils.LINE_SEPARATOR + "  ");
  -            setFieldSeparator(SystemUtils.LINE_SEPARATOR + "  ");
  -            setContentEnd(SystemUtils.LINE_SEPARATOR + "]");
  +            this.setContentStart("[" + SystemUtils.LINE_SEPARATOR + "  ");
  +            this.setFieldSeparator(SystemUtils.LINE_SEPARATOR + "  ");
  +            this.setContentEnd(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