Hi Pulsar Community, I'd like to propose that we introduce Maven Modernizer[1] plugin into Pulsar project. This plugin helps detecting uses of legacy APIs which can be replaced with modern APIs that are often more performant, safer, and idiomatic than the legacy equivalents. It's already used by some other open source projects like Apache JCloud, PrestoDB and Trino. Some examples: Replace Guava Maps.newHashMap() with new java.util.HashMap<>(), Replace Guava Objects.hashCode with java.util.Objects.hash() Replace Guava checkNotNull with java.util.Objects.requireNonNull() I think by introducing Modernizer plugin we can eliminate the use of some legacy APIs and unify some of our API usage to create a more consistent code base.
Best, Marvin, [1] https://github.com/gaul/modernizer-maven-plugin