Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
improve usages of "its" and "it's"
  • Loading branch information
Zach A. Thomas committed May 26, 2016
commit be95845d34ee018a3268d41d0113a50025fc8486
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public MetaHolder create(Object proxy, Method collapserMethod, Object obj, Objec
throw new IllegalStateException("batch method must be annotated with HystrixCommand annotation");
}
// method of batch hystrix command must be passed to metaholder because basically collapser doesn't have any actions
// that should be invoked upon intercepted method, its required only for underlying batch command
// that should be invoked upon intercepted method, it's required only for underlying batch command
MetaHolder.Builder builder = MetaHolder.builder()
.args(args).method(batchCommandMethod).obj(obj).proxyObj(proxy)
.defaultGroupKey(obj.getClass().getSimpleName())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ private void validatePlainReturnType(Method commandMethod, Method fallbackMethod
private void validatePlainReturnType(Class<?> commandReturnType, Class<?> fallbackReturnType, Method commandMethod, Method fallbackMethod) {
if (!commandReturnType.isAssignableFrom(fallbackReturnType)) {
throw new FallbackDefinitionException(createErrorMsg(commandMethod, fallbackMethod, "Fallback method '"
+ fallbackMethod + "' must return: " + commandReturnType + " or it's subclass"));
+ fallbackMethod + "' must return: " + commandReturnType + " or its subclass"));
}
}

private void validateParametrizedType(Type commandReturnType, Type fallbackReturnType, Method commandMethod, Method fallbackMethod) {
if (!commandReturnType.equals(fallbackReturnType)) {
throw new FallbackDefinitionException(createErrorMsg(commandMethod, fallbackMethod, "Fallback method '"
+ fallbackMethod + "' must return: " + commandReturnType + " or it's subclass"));
+ fallbackMethod + "' must return: " + commandReturnType + " or its subclass"));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected void checkAndFlip() {
}

if (this.isValueAcceptable()) {
logger.debug("Flipping property: {} to use it's current value: {}", getName(), getValue());
logger.debug("Flipping property: {} to use its current value: {}", getName(), getValue());
pReference.set(this);
} else {
logger.debug("Flipping property: {} to use NEXT property: {}", getName(), next);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected void checkAndFlip() {
}

if (this.isValueAcceptable()) {
logger.debug("Flipping property: {} to use it's current value: {}", getName(), getValue());
logger.debug("Flipping property: {} to use its current value: {}", getName(), getValue());
pReference.set(this);
} else {
logger.debug("Flipping property: {} to use NEXT property: {}", getName(), next);
Expand Down