Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

naming cleanup

  • Loading branch information...
commit f1a8c7194807a0464c27789e45bbbdaefec78865 1 parent 0311ab0
@moredip authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/MapOperationCommand.m
View
6 src/MapOperationCommand.m
@@ -67,16 +67,16 @@ - (NSString *)handleCommandWithRequestBody:(NSString *)requestBody {
NSDictionary *requestCommand = [requestBody JSONValue];
NSString *selectorEngineString = [requestCommand objectForKey:@"selector_engine"];
- NSString *queryString = [requestCommand objectForKey:@"query"];
+ NSString *selector = [requestCommand objectForKey:@"query"];
NSDictionary *operationDict = [requestCommand objectForKey:@"operation"];
Operation *operation = [[[Operation alloc] initFromJsonRepresentation:operationDict] autorelease];
NSArray *viewsToMap = nil;
@try {
- viewsToMap = [SelectorEngineRegistry selectViewsWithEngineNamed:selectorEngineString usingSelector:queryString];
+ viewsToMap = [SelectorEngineRegistry selectViewsWithEngineNamed:selectorEngineString usingSelector:selector];
}
@catch (NSException * e) {
- NSLog( @"Exception while using %@ to select views with '%@':\n%@", selectorEngineString, queryString, e );
+ NSLog( @"Exception while using %@ to select views with '%@':\n%@", selectorEngineString, selector, e );
return [self generateErrorResponseWithReason:@"invalid selector" andDetails:[e reason]];
}
Please sign in to comment.
Something went wrong with that request. Please try again.