Permalink
Browse files

Merge pull request #13 from fbzhong/patch-1

The self.tests and self.theConvertersByName is always nil in original cod
  • Loading branch information...
2 parents 85ca11d + ac1f8ef commit 9fee1f84221455d29b8b4206af760b10f8959127 @schwa schwa committed Sep 30, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 Source/Experimental/CFilteringJSONSerializer.m
View
10 Source/Experimental/CFilteringJSONSerializer.m
@@ -13,6 +13,16 @@ @implementation CFilteringJSONSerializer
@synthesize tests;
@synthesize convertersByName;
+- (id)init
+{
+ self = [super init];
+ if (self) {
+ tests = [[NSSet alloc] init];
+ convertersByName = [[NSDictionary alloc] init];
+ }
+ return self;
+}
+
- (void)dealloc
{
[tests release];

0 comments on commit 9fee1f8

Please sign in to comment.