You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jo...@apache.org on 2024/05/13 20:58:52 UTC

(kafka) branch kafka-16308 created (now 830a6375192)

This is an automated email from the ASF dual-hosted git repository.

jolshan pushed a change to branch kafka-16308
in repository https://gitbox.apache.org/repos/asf/kafka.git


      at 830a6375192 fix compilation error

This branch includes the following new commits:

     new 830a6375192 fix compilation error

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(kafka) 01/01: fix compilation error

Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jolshan pushed a commit to branch kafka-16308
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 830a63751929c5890f604be3fec7f0017b3d254b
Author: Justine <jo...@confluent.io>
AuthorDate: Mon May 13 13:58:28 2024 -0700

    fix compilation error
---
 core/src/main/scala/kafka/server/BrokerFeatures.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/scala/kafka/server/BrokerFeatures.scala b/core/src/main/scala/kafka/server/BrokerFeatures.scala
index 738a900c2d4..15f41b7dd63 100644
--- a/core/src/main/scala/kafka/server/BrokerFeatures.scala
+++ b/core/src/main/scala/kafka/server/BrokerFeatures.scala
@@ -86,7 +86,7 @@ object BrokerFeatures extends Logging {
             MetadataVersion.latestProduction.featureLevel
           }))
       FeatureVersion.PRODUCTION_FEATURES.forEach { feature =>
-        features.put(feature.featureName, new SupportedVersionRange(0, feature.defaultValue(Optional.empty)))
+        features.put(feature.featureName, new SupportedVersionRange(0, feature.defaultValue(Optional.empty())))
       }
     Features.supportedFeatures(features)
   }