0x1306e6d / tollgate

An API gateway for your microservice.
MIT License
6 stars 1 forks source link

Check whether parameter is null in public interface #113

Closed 0x1306e6d closed 3 years ago

0x1306e6d commented 3 years ago

To ensure non-null, check whether a parameter is null in public interface. Although Armeria checks null, but we also check null because we treat Armeria implementation as black box. Therefore, if don'y call our other public interface, always check null using requireNonNull.