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.7 by tdb, Thu Dec 7 21:16:10 2000 UTC

# Line 1 | Line 1
1   //---PACKAGE DECLARATION---
2  
3   //---IMPORTS---
4 + import uk.ac.ukc.iscream.util.IscreamNamer;
5 + import uk.ac.ukc.iscream.util.ReferenceManager;
6  
7   /**
8   * <ONE LINE DESCRIPTION>
# Line 16 | Line 18 | class TemplateClass {
18      /**
19       * The current CVS revision of this class
20       */
21 <    public final String REVISION = "$Revision$";
21 >    public static final String REVISION = "$Revision$";
22      
23   //---STATIC METHODS---
24  
# Line 31 | Line 33 | class TemplateClass {
33       * @return the name of this class and its CVS revision
34       */
35      public String toString() {
36 <        return this.getClass().getName() + ":" + REVISION;
36 >        return uk.ac.ukc.iscream.util.IscreamNamer.formatName(
37 >            uk.ac.ukc.iscream.util.ReferenceManager.getInstance().getName(),
38 >            this.getClass().getName(),
39 >            REVISION);
40      }
41  
42   //---PRIVATE METHODS---

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines