kokuwaio / esh-constants-maven-plugin

A Maven plugin that generates a Java constants class from the content of the ESH-INF folder. Very useful for e.g. OpenHAB binding development.
Apache License 2.0
4 stars 2 forks source link

Fix names with special characters #4

Closed dmfs closed 2 years ago

dmfs commented 2 years ago

Apparently some of the IDs may contain special characters like -, which have led to invalid Java code. This commit replaces all special chars with _ to ensure valid Java identifiers.