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

Comparing projects/cms/source/util/uk/org/iscream/cms/util/FormatName.java (file contents):
Revision 1.7 by tdb, Mon Feb 26 00:46:17 2001 UTC vs.
Revision 1.8 by tdb, Wed Mar 14 23:25:29 2001 UTC

# Line 1 | Line 1
1   //---PACKAGE DECLARATION---
2 < package uk.ac.ukc.iscream.util;
2 > package uk.org.iscream.util;
3  
4   //---IMPORTS---
5   import java.util.Date;
# Line 69 | Line 69 | public class FormatName {
69      }
70  
71      /**
72 <     * If the class name begins with uk.ac.ukc.iscream
72 >     * If the class name begins with uk.org.iscream
73       * this method will trim it off, otherwise it
74       * leaves the string unchanged.
75       *
# Line 78 | Line 78 | public class FormatName {
78       * @return the tidy version of it
79       */
80      private static String tidyClassName(String className) {
81 <        if (className.startsWith("uk.ac.ukc.iscream")) {
81 >        if (className.startsWith("uk.org.iscream")) {
82              return className.substring(18);
83          }
84          return className;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines