Closed magwas closed 5 years ago
If I say there is already fixed, can I get the 1 testcase? :)
Fixed since ages, but not optimally: the check of "type" should be outside of the for loop since it does not change. :)
No, it is not fixed, the code contains '==' instead of .equals(). That is the problem.
I think what you see on sonarcloud is from February 9, 2019, 11:55 AM
oh, my. You are right. Git blame even says that I have fixed it :) Alzheimer makes you meet new people every day.
no testcase needed. Counts as 1 testcase. https://sonarcloud.io/project/issues?branch=develop&id=org.rulez.demokracia%3APDEngine&open=AWjRti-NEzgCzR11fxzX