openlcb / OpenLCB_Java

A git-managed copy of the SVN-based Java prototype implementation of OpenLCB. This implementation operates inside JMRI.
6 stars 9 forks source link

add EventID.toShortString() #215

Closed bobjacobsen closed 1 year ago

bobjacobsen commented 1 year ago

EventID.toString() adds a "EventID:" prefix to the event ID itself. It would be useful to have a String version of the event ID without that. Changing .toString() at this point doesn't seem like a good idea, so I added a .toShortString() method instead.