https://bz.apache.org/bugzilla/show_bug.cgi?id=58534
Bug ID: 58534 Summary: Repeated Conditional Test Product: Tomcat 8 Version: trunk Hardware: Macintosh OS: Mac OS X 10.1 Status: NEW Severity: trivial Priority: P2 Component: WebSocket Assignee: dev@tomcat.apache.org Reporter: anth...@whitford.com In org.apache.tomcat.websocket.pojo.PojoMethodMapping, there are cases like this: if (currentClazz == clazzPojo || (currentClazz != clazzPojo && !isMethodOverride(open, method))) { The clause 'currentClazz != clazzPojo' is redundant since we know 'currentClazz == clazzPojo' is false. This is repeated several times. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org