Skip to content

Add Checkstyle Rule for Objects.notNull #4613

@RussellSpitzer

Description

@RussellSpitzer

We prefer Preconditions.notNull in the project (cc: @findepi ) so we should make it a failing rule in the checkstyle tests. Like we ban usages of new HashMap() here

https://github.com/apache/iceberg/blob/master/.baseline/checkstyle/checkstyle.xml#L54-L57

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerIssues for apache iceberg beginners, enjoy to contribute !good first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions