litesoft
Diff Revisions
820
vs
821
for /trunk/Java/KeyHole/src/org/litesoft/aokeyhole/swing/mains/mementobeans/AttributeData.java
|
@@ -3,7 +3,6 @@ |
3 |
3 |
|
import org.litesoft.aokeyhole.objects.factories.*; |
4 |
4 |
|
import org.litesoft.aokeyhole.objects.factories.mementobean.*; |
5 |
5 |
|
import org.litesoft.core.typeutils.*; |
6 |
|
- |
import org.litesoft.core.util.*; |
7 |
6 |
|
|
8 |
7 |
|
public class AttributeData implements BeanMagicStrings |
9 |
8 |
|
{ |
|
@@ -70,15 +69,15 @@ |
70 |
69 |
|
// "String" & "" || "Mementoable" & "<DetailBean>" |
71 |
70 |
|
if ( !MEMENTOABLE_ATTRIBUTE_PROXY_TYPE.equals( pPreType ) ) |
72 |
71 |
|
{ |
73 |
|
- |
Strings.assertEmpty( "BracketedPostType", pBracketedPostType ); |
74 |
|
- |
mType = UtilsCommon.assertOneOf( pPreType, VALID_TYPES ); |
|
72 |
+ |
// Strings.assertEmpty( "BracketedPostType", pBracketedPostType ); |
|
73 |
+ |
// mType = Objects.assertOneOf( pPreType, VALID_TYPES ); |
75 |
74 |
|
return; |
76 |
75 |
|
} |
77 |
76 |
|
mMementoableType = true; |
78 |
77 |
|
if ( pBracketedPostType.startsWith( "<" ) && pBracketedPostType.endsWith( ">" ) ) |
79 |
78 |
|
{ |
80 |
79 |
|
mType = pBracketedPostType.substring( 1, pBracketedPostType.length() - 1 ); |
81 |
|
- |
if ( UtilsCommon.isValidAttributeIdentifier( mType ) ) |
|
80 |
+ |
if ( Strings.isValidAttributeIdentifier( mType ) ) |
82 |
81 |
|
{ |
83 |
82 |
|
return; |
84 |
83 |
|
} |