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.4 by tdb, Mon Nov 13 17:08:13 2000 UTC vs.
Revision 1.6 by ajm, Thu Dec 7 19:49:27 2000 UTC

# Line 16 | Line 16 | class TemplateClass {
16      /**
17       * The current CVS revision of this class
18       */
19 <    public final String REVISION = "$Revision$";
19 >    public static final String REVISION = "$Revision$";
20      
21   //---STATIC METHODS---
22  
# Line 31 | Line 31 | class TemplateClass {
31       * @return the name of this class and its CVS revision
32       */
33      public String toString() {
34 <        return this.getClass().getName() + ":" + REVISION;
34 >        return uk.ac.iscream.util.IscreamNamer.formatName(
35 >            uk.ac.iscream.util.ReferenceManager.getInstance().getName(),
36 >            this.getClass().getName(),
37 >            REVISION);
38      }
39  
40   //---PRIVATE METHODS---

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines