You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by to...@apache.org on 2006/10/16 23:30:07 UTC

svn commit: r464676 - /incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYPersistentObject.m

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 = %@}", [self objectContext], [self objectId], /*values*/ @"...(TODO)...)"];
+    result = [[NSString alloc] initWithFormat:@"%@ {objectContext = %@; objectId = %@; values = %@}", [self class], [self objectContext], [self objectId], /*values*/ @"...(TODO)...)"];
     [result autorelease];
     return result;
 }