ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/CIWrapper.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/CIWrapper.java (file contents):
Revision 1.7 by tdb, Tue Mar 13 02:19:48 2001 UTC vs.
Revision 1.8 by tdb, Tue Mar 13 16:37:31 2001 UTC

# Line 65 | Line 65 | public class CIWrapper extends Thread {
65       * Overrides the {@link java.lang.Object#toString() Object.toString()}
66       * method to provide clean logging (every class should have this).
67       *
68 +     * This uses the uk.ac.ukc.iscream.util.NameFormat class
69 +     * to format the toString()
70 +     *
71       * @return the name of this class and its CVS revision
72       */
73      public String toString() {
74 <        return this.getClass().getName() + "{" + _name + "}(" + REVISION.substring(11, REVISION.length() - 2) + ")";
74 >        return FormatName.getName(
75 >            _name,
76 >            getClass().getName(),
77 >            REVISION);
78      }
79  
80   //---PRIVATE METHODS---

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines