public HTMLComponent(DocumentRequestHandler handler) {
...
...
if (eventsEnabled) {
eventsListener=new HTMLEventsListener(this);
}
...
...
}
Since this function is a constructor and since eventsEnabled is false by
default and since eventsEnabled is never set in this function BEFORE the
if-statement is executed, the if-statement is redundant.
Original issue reported on code.google.com by jkoo...@gmail.com on 11 Apr 2012 at 11:28
Original issue reported on code.google.com by
jkoo...@gmail.com
on 11 Apr 2012 at 11:28