From: Benjamin R. <be...@us...> - 2004-03-16 03:02:51
|
Update of /cvsroot/ljkit/LJKit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10057 Modified Files: LJJournal.m Log Message: Simplified implementation of getMostRecentEntry Index: LJJournal.m =================================================================== RCS file: /cvsroot/ljkit/LJKit/LJJournal.m,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** LJJournal.m 10 Jan 2004 08:40:47 -0000 1.2 --- LJJournal.m 16 Mar 2004 02:53:39 -0000 1.3 *************** *** 22,25 **** --- 22,26 ---- /* 2004-01-06 [BPR] Removed calls to ImmutablizeObject() + 2004-03-01 [BPR] Simplified implementation of getMostRecentEntry */ *************** *** 220,225 **** - (LJEntry *)getMostRecentEntry { ! NSArray *array = [self getEntriesWithParameters:[self parametersForItemID:-1]]; ! return [array count] == 0 ? nil : [array objectAtIndex:0]; } --- 221,225 ---- - (LJEntry *)getMostRecentEntry { ! return [self getEntryForItemID:-1]; } |