Permalink
Browse files

OAAttachment: Fixed names of OAAttachment.h/.m + fileName capitalisation

  • Loading branch information...
1 parent d85006f commit 9faca4a2ac34abd90dae95f6895107202941ca58 damian committed with Feb 28, 2011
Showing with 3 additions and 3 deletions.
  1. 0 OAAtachment.h → OAAttachment.h
  2. +3 −3 OAAtachment.m → OAAttachment.m
File renamed without changes.
@@ -10,13 +10,13 @@
@implementation OAAttachment
-@synthesize name, filename, contentType, data;
+@synthesize name, fileName, contentType, data;
- (id)initWithName:(NSString *)aName filename:(NSString *)aFilename contentType:(NSString *)aContentType data:(NSData *)aData{
self = [super init];
if(self){
self.name = aName;
- self.filename = aFilename;
+ self.fileName = aFilename;
self.contentType = aContentType;
self.data = aData;
}
@@ -25,7 +25,7 @@ - (id)initWithName:(NSString *)aName filename:(NSString *)aFilename contentType:
- (void)dealloc{
[name release];
- [filename release];
+ [fileName release];
[contentType release];
[data release];
[super dealloc];

0 comments on commit 9faca4a

Please sign in to comment.