The discover...() methods in StreamStateMachine should probably return collections. Right now, they fill in static fields. This is probably a bit confusing and not so flexible. The caller can decide what to do with them. This is a code quality issue.
The
discover...()
methods inStreamStateMachine
should probably return collections. Right now, they fill in static fields. This is probably a bit confusing and not so flexible. The caller can decide what to do with them. This is a code quality issue.