I'd suggest changing that logic to avoid using `to...
# codereview
r
I'd suggest changing that logic to avoid using
toString()
in comparisons. That tends to become problematic as people are unaware that changing
toString()
implementations will impact in the application or library logic.