kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chia7...@apache.org
Subject [kafka] branch trunk updated: MINOR: change modifier of ConsumerRecords(FetchedRecords) from public to package-private (#10036)
Date Wed, 03 Feb 2021 15:47:36 GMT
This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new eb524ec  MINOR: change modifier of ConsumerRecords(FetchedRecords) from public to
package-private (#10036)
eb524ec is described below

commit eb524ec73eca7fd1b4e9871a5fa3cc0fb397d4dd
Author: Chia-Ping Tsai <chia7712@gmail.com>
AuthorDate: Wed Feb 3 23:46:11 2021 +0800

    MINOR: change modifier of ConsumerRecords(FetchedRecords) from public to package-private
(#10036)
    
    Reviewers: Ismael Juma <mlists@juma.me.uk>
---
 .../main/java/org/apache/kafka/clients/consumer/ConsumerRecords.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerRecords.java
b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerRecords.java
index d34bf55..cc53170 100644
--- a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerRecords.java
+++ b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerRecords.java
@@ -125,7 +125,7 @@ public class ConsumerRecords<K, V> implements Iterable<ConsumerRecord<K,
V>> {
         this.metadata = metadata;
     }
 
-    public ConsumerRecords(final FetchedRecords<K, V> fetchedRecords) {
+    ConsumerRecords(final FetchedRecords<K, V> fetchedRecords) {
         this(fetchedRecords.records(), extractMetadata(fetchedRecords));
     }
 


Mime
View raw message