From 14ea3aeba4e08a79f790b1f9b9e331f6d5f21a08 Mon Sep 17 00:00:00 2001 From: Ewen Cheslack-Postava Date: Mon, 13 Apr 2015 11:58:03 -0700 Subject: [PATCH] KAFKA-2119: Remove unnecessary throws clauses leftover after initial implementation of new consumer. --- .../main/java/org/apache/kafka/clients/consumer/ConsumerRecord.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerRecord.java b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerRecord.java index 466254e..49d9527 100644 --- a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerRecord.java +++ b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerRecord.java @@ -58,14 +58,14 @@ public final class ConsumerRecord { /** * The key (or null if no key is specified) */ - public K key() throws Exception { + public K key() { return key; } /** * The value */ - public V value() throws Exception { + public V value() { return value; } -- 2.3.3