Skip to content

Add null-check for toolbar in FooterToolbarGridHelper#setFooterToolbar #131

Description

@coderabbitai

Problem

Calling FooterToolbarGridHelper#setFooterToolbar with a null toolbar causes a NullPointerException.

Proposed fix

Add Objects.requireNonNull(toolBar, "Toolbar component must not be null") at the start of the method and import java.util.Objects.

Context

Raised during code review of PR #130.
PR: #130
Review comment: #130 (comment)


Reported by CodeRabbit review bot as requested by @javier-godoy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions