eclipse-archived / smarthome

Eclipse SmartHome™ project
https://www.eclipse.org/smarthome/
Eclipse Public License 2.0
862 stars 787 forks source link

[OneWire] add better runtime checks #6852

Closed J-N-K closed 5 years ago

J-N-K commented 5 years ago

This adds some checks if sensor type and thing type are compüatible and simplfies initialization code. Except from better error handling this is fully transparent to the user.

I have left my individual commits in place for easier review.

J-N-K commented 5 years ago

Is there a reason why the formatter is applied automatically for .java files but not for .xml files?

kaikreuzer commented 5 years ago

Yes, Eclipse supports "Save actions" on java files, but not on XML files...