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