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.8 by tdb, Wed Mar 14 23:25:29 2001 UTC vs.
Revision 1.9 by tdb, Thu Mar 15 00:44:31 2001 UTC

# 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.org.iscream")) {
82 <            return className.substring(18);
81 >        String prefix = "uk.org.iscream";
82 >        if (className.startsWith(prefix)) {
83 >            return className.substring(prefix.length());
84          }
85          return className;
86      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines