Jayteeps commented on code in PR #24112:
URL: https://github.com/apache/kafka/pull/24112#discussion_r4511924833
##########
server/src/test/java/org/apache/kafka/server/BrokerFeaturesTest.java:
##########
@@ -94,7 +95,7 @@ public void testDefaultFinalizedFeatures() {
Features<SupportedVersionRange> supportedFeatures =
Features.supportedFeatures(newFeatures);
BrokerFeatures brokerFeatures = BrokerFeatures.createDefault(true,
supportedFeatures);
- Map<String, Short> expectedFeatures = Map.of(
+ Map<String, Short> expectedFeatures = new HashMap<>(Map.of(
Review Comment:
Map.of supports max 10 i believe, but apparently there's a ofEntries so I
can use that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]