Skip to content

Remove unnecessary code in Kafka::Producer#batch#17

Open
bitterb wants to merge 1 commit into
acrosa:masterfrom
bitterb:remove-unnecessary-code
Open

Remove unnecessary code in Kafka::Producer#batch#17
bitterb wants to merge 1 commit into
acrosa:masterfrom
bitterb:remove-unnecessary-code

Conversation

@bitterb

@bitterb bitterb commented Jan 24, 2013

Copy link
Copy Markdown

This pull request removes unnecessary code in Kafka::Producer#batch method. Since the method always creates a new Kafka::Batch instance at the beginning, it would not be necessary to clear its instance variable batch.messages at the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant