hap-java / HAP-Java

Java implementation of the HomeKit Accessory Protocol
MIT License
152 stars 83 forks source link

Null-Annotations #79

Closed J-N-K closed 3 years ago

J-N-K commented 5 years ago

While working on the openhab Homekit integration i tried to use null annotations to prevent NPE. This unfortunately fails because HAP-Java is not null-annotated.

Introducing null aoontaions would probably be API-breaking in some cases but since the version switched from 1.1 to 1.2 it is not considered to be fully compatibale anyway.

I would be willing to take a lead in this effort.

WDYT?