Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Don't make a private method be explicitly typed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnogu committed Dec 23, 2015
1 parent 13e65ca commit 620b6d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ case class KafkaRequestBuilder(requestName: Expression[String]) {
def send[K,V](key: Expression[K], payload: Expression[V]): KafkaRequestActionBuilder[K,V] =
send(payload, Some(key))

private def send[K,V](payload: Expression[V], key: Option[Expression[K]]): KafkaRequestActionBuilder[K,V] =
private def send[K,V](payload: Expression[V], key: Option[Expression[K]]) =
new KafkaRequestActionBuilder(KafkaAttributes(requestName, key, payload))
}

0 comments on commit 620b6d1

Please sign in to comment.