litesoft
Diff Revisions
810
vs
811
for /trunk/Java/core/Anywhere/src/org/litesoft/core/hierarchicaldata/HierarchicalData.java
|
@@ -2,7 +2,6 @@ |
2 |
2 |
|
package org.litesoft.core.hierarchicaldata; |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.core.typeutils.*; |
5 |
|
- |
import org.litesoft.core.util.*; |
6 |
5 |
|
|
7 |
6 |
|
public class HierarchicalData |
8 |
7 |
|
{ |
|
@@ -11,13 +10,13 @@ |
11 |
10 |
|
String name = Strings.deNull( pName ).trim(); |
12 |
11 |
|
if ( name.length() != 0 ) |
13 |
12 |
|
{ |
14 |
|
- |
if ( UtilsCommon.isAlpha( name.charAt( 0 ) ) ) |
|
13 |
+ |
if ( Characters.isAlpha( name.charAt( 0 ) ) ) |
15 |
14 |
|
{ |
16 |
15 |
|
boolean ok = true; |
17 |
16 |
|
for ( int i = 1; ok && (i < name.length()); i++ ) |
18 |
17 |
|
{ |
19 |
18 |
|
char c = name.charAt( i ); |
20 |
|
- |
ok = (c == '.') || (c == '_') || UtilsCommon.isAlphaNumeric( c ); |
|
19 |
+ |
ok = (c == '.') || (c == '_') || Characters.isAlphaNumeric( c ); |
21 |
20 |
|
} |
22 |
21 |
|
if ( ok ) |
23 |
22 |
|
{ |