Skip to content

Commit

Permalink
Makes the application method for custom consumer headers private.
Browse files Browse the repository at this point in the history
  • Loading branch information
dehora committed Mar 22, 2017
1 parent 0fd9a1a commit b793e69
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ static ResourceOptions buildResourceOptions(NakadiClient client, StreamConfigura
return options;
}

@VisibleForTesting
static void applyConfiguredHeaders(StreamConfiguration sc, ResourceOptions options) {
private static void applyConfiguredHeaders(StreamConfiguration sc, ResourceOptions options) {
sc.requestHeaders().entrySet().forEach(e -> options.header(e.getKey(), e.getValue()));
}

Expand Down

0 comments on commit b793e69

Please sign in to comment.