Skip to content

Use primitive boolean type

Daniel Gerhardt requested to merge use-primitive-boolean into master

There is no good reason to use the boxed Java type by default. By switching to the primitive type, the effected fields without explicit initialization now have a default value of false instead of null.

This fixes a NullPointerException on creation of new comments.

Regression-MR: !611 (merged)

Merge request reports