tracks/objective-c/exercises/binary-search/BinarySearchExample.m in trackler-2.0.8.28 vs tracks/objective-c/exercises/binary-search/BinarySearchExample.m in trackler-2.0.8.29
- old
+ new
@@ -30,10 +30,10 @@
if (!binary) {
return NSNotFound;
}
return [binary searchFor:number];
- } else {
+ } else { //!OCLint
NSUInteger length = self.list.count - middleIndex;
NSArray *sublist = [self.list subarrayWithRange:NSMakeRange(middleIndex, length)];
if ([sublist isEqualToArray:self.list]) {
return NSNotFound;
}