User: pathoss
Date: 02/04/02 04:14:07
Modified: core/resources/xdoclet/ejb entitypk.j
Log:
Small performance improvement (appending a char is faster).
Revision Changes Path
1.22 +3 -3 xdoclet/core/resources/xdoclet/ejb/entitypk.j
Index: entitypk.j
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/entitypk.j,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -w -r1.21 -r1.22
--- entitypk.j 2 Apr 2002 11:41:06 -0000 1.21
+++ entitypk.j 2 Apr 2002 12:14:07 -0000 1.22
@@ -117,16 +117,16 @@
return eq;
}
- /** @return String representation of this pk in the form of
[field1.field2.field3]. */
+ /** @return String representation of this pk in the form of
[.field1.field2.field3]. */
public String toString()
{
if( _toStringValue == null )
{
_toStringValue = new StringBuffer("[.");
<XDtEjbPersistent:forAllPersistentFields superclasses="false"
only-pk="true">
- _toStringValue.append(this.<XDtMethod:propertyName/>).append(".");
+ _toStringValue.append(this.<XDtMethod:propertyName/>).append('.');
</XDtEjbPersistent:forAllPersistentFields>
- _toStringValue.append("]");
+ _toStringValue.append(']');
}
return _toStringValue.toString();
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel