mirror of https://github.com/apache/kafka.git
I had to fix several compiler errors due to deprecation of auto application of `()`. A related Xlint config (`-Xlint:nullary-override`) is no longer valid in 2.13, so we now only enable it for 2.12. The compiler flagged two new inliner warnings that required suppression and the semantics of `&` in `@nowarn` annotations changed, requiring a small change in one of the warning suppressions. I also removed the deprecation of a number of methods in `KafkaZkClient` as they should not have been deprecated in the first place since `KafkaZkClient` is an internal class and we still use these methods in the Controller and so on. This became visible because the Scala compiler now respects Java's `@Deprecated` annotation. Finally, I included a few minor clean-ups (eg using `toBuffer` instead `toList`) when fixing the compilation warnings. Noteworthy bug fixes in Scala 2.13.3: * Fix 2.13-only bug in Java collection converters that caused some operations to perform an extra pass * Fix 2.13.2 performance regression in Vector: restore special cases for small operands in appendedAll and prependedAll * Increase laziness of #:: for LazyList * Fixes related to annotation parsing of @Deprecated from Java sources in mixed compilation Full release notes: https://github.com/scala/scala/releases/tag/v2.13.3 Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
NOTICE |