Revision: 4431
http://skim-app.svn.sourceforge.net/skim-app/?rev=4431&view=rev
Author: hofman
Date: 2008-08-19 18:32:11 +0000 (Tue, 19 Aug 2008)
Log Message:
-----------
remove some unnecessary class method calls.
Modified Paths:
--------------
trunk/SKBookmark.m
Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m 2008-08-19 12:30:27 UTC (rev 4430)
+++ trunk/SKBookmark.m 2008-08-19 18:32:11 UTC (rev 4431)
@@ -99,31 +99,31 @@
}
+ (id)bookmarkWithPath:(NSString *)aPath pageIndex:(unsigned)aPageIndex
label:(NSString *)aLabel {
- return [[[[self class] alloc] initWithPath:aPath pageIndex:aPageIndex
label:aLabel] autorelease];
+ return [[[self alloc] initWithPath:aPath pageIndex:aPageIndex
label:aLabel] autorelease];
}
+ (id)bookmarkWithSetup:(NSDictionary *)aSetupDict label:(NSString *)aLabel {
- return [[[[self class] alloc] initWithSetup:aSetupDict label:aLabel]
autorelease];
+ return [[[self alloc] initWithSetup:aSetupDict label:aLabel] autorelease];
}
+ (id)bookmarkFolderWithChildren:(NSArray *)aChildren label:(NSString *)aLabel
{
- return [[[[self class] alloc] initFolderWithChildren:aChildren
label:aLabel] autorelease];
+ return [[[self alloc] initFolderWithChildren:aChildren label:aLabel]
autorelease];
}
+ (id)bookmarkFolderWithLabel:(NSString *)aLabel {
- return [[[[self class] alloc] initFolderWithLabel:aLabel] autorelease];
+ return [[[self alloc] initFolderWithLabel:aLabel] autorelease];
}
+ (id)bookmarkSessionWithChildren:(NSArray *)aChildren label:(NSString
*)aLabel {
- return [[[[self class] alloc] initSessionWithChildren:aChildren
label:aLabel] autorelease];
+ return [[[self alloc] initSessionWithChildren:aChildren label:aLabel]
autorelease];
}
+ (id)bookmarkSeparator {
- return [[[[self class] alloc] initSeparator] autorelease];
+ return [[[self alloc] initSeparator] autorelease];
}
+ (id)bookmarkWithProperties:(NSDictionary *)dictionary {
- return [[[[self class] alloc] initWithProperties:dictionary] autorelease];
+ return [[[self alloc] initWithProperties:dictionary] autorelease];
}
- (id)initWithPath:(NSString *)aPath pageIndex:(unsigned)aPageIndex
label:(NSString *)aLabel {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit