GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [java] New Rule: Always compare enum values with `==` · Issue #6193 · pmd/pmd Closed Labels a:new-ruleProposal to add a new built-in rule Milestone DescriptionProposed Rule Name: EnumComparison Proposed Category: Best Practices Description: Enum should be compared using Code Sample: class Foo { void method(Thread.State state1, Thread.State state2) { if (state1.equals(state2)) { } // violation if (state1 == state2) {} // correct } } Possible XPath expression: Possible Properties:
References: Activity
MetadataMetadataAssigneesLabelsa:new-ruleProposal to add a new built-in rule TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |