-1

There is no assignment in the below code example. I think that this rule should not apply to this code.

problem illustration

My setup:

  • SonarQube 4.5.4 LTS
  • PMD plugin 2.3
2
  • The question is not very clear. However, see i.e. stackoverflow.com/questions/2128409/… for opinions on that matter. Commented Jul 22, 2015 at 22:06
  • I'm not sure I understand. The question whether the code is in fact an assignment? Commented Jul 23, 2015 at 6:36

1 Answer 1

2

I discovered that this is a known issue: http://sourceforge.net/p/pmd/bugs/901/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.