spring-statemachine
spring-statemachine copied to clipboard
Bug - Enum class compression with == not working, should change to equals
https://github.com/spring-projects/spring-statemachine/blob/3c38675eb031bc094602a9181d2c1f8074d2b4dc/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/AbstractStateMachine.java#L720
Both are technically correct. If you look at the source code for .equals(), it simply defers to ==. Can you provide more examples on how its not working ?