ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/TemplateClass.java
(Generate patch)

Comparing projects/cms/source/TemplateClass.java (file contents):
Revision 1.3 by ajm, Wed Nov 8 19:15:05 2000 UTC vs.
Revision 1.5 by tdb, Mon Nov 13 18:20:09 2000 UTC

# Line 25 | Line 25 | class TemplateClass {
25   //---PUBLIC METHODS---
26  
27      /**
28 <     * Overrides the {@link #java.lang.Object.toString() Object.toString()}
28 >     * Overrides the {@link java.lang.Object#toString() Object.toString()}
29       * method to provide clean logging (every class should have this).
30       *
31       * @return the name of this class and its CVS revision
32       */
33      public String toString() {
34 <        return this.getClass().getName() + ":" + REVISION;
34 >        return this.getClass().getName() + "(" + REVISION.substring(11, REVISION.length() - 2) + ")";
35      }
36  
37   //---PRIVATE METHODS---

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines