A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1918 below:

[java] UselessParentheses false positive with boolean operators · Issue #1918 · pmd/pmd · GitHub

Affects PMD Version: 3.12.0

Rule: UselessParentheses

Description:
I have the condition if(a || b || (c & d) || e)
Then I get Useless parentheses violation message.

Code Sample demonstrating the issue:

if(a || b || (c & d) || e) {
 //do sth
}

Running PMD through: Maven

Java JDK 8


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4