Skip to content

Commit

Permalink
another minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yujitach committed Aug 12, 2015
1 parent 146e543 commit 5506bc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions InspireXMLParser.m
Expand Up @@ -35,6 +35,7 @@ -(instancetype)initWithXMLData:(NSData*)data
{
self=[super init];
@autoreleasepool {
[data writeToFile:@"/tmp/inspireOutput.xml" atomically:NO];
NSXMLParser*parser=[[NSXMLParser alloc]initWithData:data];
parser.delegate=self;
[parser parse];
Expand Down
1 change: 1 addition & 0 deletions LightweightArticle.m
Expand Up @@ -106,6 +106,7 @@ -(instancetype)init{
}
-(void)addAuthor:(NSString *)author
{
if(!author)return;
NSMutableArray*a=dic[@"authors"];
[a addObject:author];
}
Expand Down

0 comments on commit 5506bc5

Please sign in to comment.