Permalink
Browse files

removed superfluous comments.

  • Loading branch information...
1 parent 716b224 commit 12bd8c03839a0f52f3874865ca71edf5e41e194e Sergei Winitzki committed Aug 17, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 mogenerator.m
View
@@ -179,7 +179,6 @@ - (NSString *)_resolveKeyPathType:(NSString *)keyPath {
return [entity managedObjectClassName];
}
-// changes by Sergei Winitzki
// auxiliary function
- (BOOL) bindingsArray:(NSArray *)bindings containsVariableNamed:(NSString *)name {
for (NSDictionary *dict in bindings) {
@@ -189,7 +188,6 @@ - (BOOL) bindingsArray:(NSArray *)bindings containsVariableNamed:(NSString *)nam
}
return NO;
}
-// end of changes by Sergei Winitzki
- (void)_processPredicate:(NSPredicate*)predicate_ bindings:(NSMutableArray*)bindings_ {
if (!predicate_) return;
@@ -221,13 +219,13 @@ - (void)_processPredicate:(NSPredicate*)predicate_ bindings:(NSMutableArray*)bin
type = [self _resolveKeyPathType:[lhs keyPath]];
}
type = [type stringByAppendingString:@"*"];
- // changes by Sergei Winitzki: make sure that no repeated variables are entered here.
+ // make sure that no repeated variables are entered here.
if (![self bindingsArray:bindings_ containsVariableNamed:[rhs variable]]) {
[bindings_ addObject:[NSDictionary dictionaryWithObjectsAndKeys:
[rhs variable], @"name",
type, @"type",
nil]];
- } // end of changes by Sergei Winitzki
+ }
} break;
default:
assert(0 && "unknown NSExpression type");

0 comments on commit 12bd8c0

Please sign in to comment.