Author: torehalset
Date: Mon Oct 16 14:30:06 2006
New Revision: 464676
URL: http://svn.apache.org/viewvc?view=rev&rev=464676
Log:
include class name in CAYPersistentObject.description
Modified:
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m
Modified:
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m
URL:
http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m?view=diff&rev=464676&r1=464675&r2=464676
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m
(original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m
Mon Oct 16 14:30:06 2006
@@ -91,7 +91,7 @@
{
NSString *result;
// TODO: it is dangerous to include relational values as it can result
in a neverending loop..
- result = [[NSString alloc] initWithFormat:@"{objectContext = %@; objectId
= %@; values = [EMAIL PROTECTED]", [self objectContext], [self objectId],
/*values*/ @"...(TODO)...)"];
+ result = [[NSString alloc] initWithFormat:@"%@ {objectContext = %@;
objectId = %@; values = [EMAIL PROTECTED]", [self class], [self objectContext],
[self objectId], /*values*/ @"...(TODO)...)"];
[result autorelease];
return result;
}