Skip to content

Commit

Permalink
Rename responseObserver to responseConsumer in api method
Browse files Browse the repository at this point in the history
  • Loading branch information
Duzhinsky committed Oct 18, 2023
1 parent cc1e6c7 commit bab4275
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ private ParameterSpec generateObserverParameter(TypeName responseType) {
ClassName.get("java.util.function", "Consumer"),
responseType.box()
);
return ParameterSpec.builder(observerType, "responseObserver").addAnnotation(NotNull.class).build();
return ParameterSpec.builder(observerType, "responseConsumer").addAnnotation(NotNull.class).build();
}
}

0 comments on commit bab4275

Please sign in to comment.