kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <j...@apache.org>
Subject [jira] [Created] (KAFKA-5772) Improve Util classes
Date Wed, 23 Aug 2017 15:00:00 GMT
Matthias Weßendorf created KAFKA-5772:

             Summary: Improve Util classes
                 Key: KAFKA-5772
                 URL: https://issues.apache.org/jira/browse/KAFKA-5772
             Project: Kafka
          Issue Type: Improvement
          Components: clients
            Reporter: Matthias Weßendorf

Utils with static methods should not be instantiated, hence we should improve them by marking
the classes final and adding a private constructor as well.

In addition this is consistent w/ a few of the existing Util classes, such as ByteUtils, see:

This message was sent by Atlassian JIRA

View raw message