Skip to content

Commit

Permalink
Remove useless JTPepub init method
Browse files Browse the repository at this point in the history
It wasn't called, and isn't necessary.

Unit tests still pass.
  • Loading branch information
chrisridd committed Mar 5, 2012
1 parent c9da86e commit 44ff026
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion JTPepub/JTPepub.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ typedef enum {
NSString *drm;
NSDate *expiryDate;
}
- (id) initWithFile:(NSString *)fileName;
- (id)initWithFile:(NSString *)fileName;
- (BOOL)openEPUBFile:(NSString*)fileName;

- (NSString *)textFromManifestItem:(NSUInteger)n;
Expand Down
5 changes: 0 additions & 5 deletions JTPepub/JTPepub.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ + (void)initialize
}
}

- (id)init
{
return [self initWithFile:nil];
}

- (id)initWithFile:(NSString *)fileName
{
self = [super init];
Expand Down

0 comments on commit 44ff026

Please sign in to comment.