spring-statemachine icon indicating copy to clipboard operation
spring-statemachine copied to clipboard

Bug - Enum class compression with == not working, should change to equals

Open milan-evtich opened this issue 5 years ago • 1 comments

https://github.com/spring-projects/spring-statemachine/blob/3c38675eb031bc094602a9181d2c1f8074d2b4dc/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/AbstractStateMachine.java#L720

milan-evtich avatar Mar 25 '20 08:03 milan-evtich

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 ?

prasanth08 avatar Apr 12 '23 18:04 prasanth08