New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[java] GuardLogStatement: "There is log block not surrounded by if" doesn't sound right #1202

Closed
krichter722 opened this Issue Jun 24, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@krichter722
Contributor

krichter722 commented Jun 24, 2018

Affects PMD Version: 6.5.0-SNAPSHOT

Rule: bestpractices.xml

Description: The description "There is log block not surrounded by if" doesn't sound right. It's missing at least an article, but should be reformulated. I'm not yet sure, what it should cover, so I'll leave the change to an expert.

Code Sample demonstrating the issue:

See

message="There is log block not surrounded by if"
. I I can provide a code sample if it's really necessary.

Running PMD through: Maven

fblampe added a commit to fblampe/pmd that referenced this issue Oct 14, 2018

@adangel adangel changed the title from [java] "There is log block not surrounded by if" doesn't sound right to [java] GuardLogStatement: "There is log block not surrounded by if" doesn't sound right Oct 14, 2018

@jsotuyod jsotuyod added the has:pr label Oct 14, 2018

@jsotuyod jsotuyod added this to the 6.9.0 milestone Oct 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment