Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15853

org.jboss.as.ejb3.timerservice.TimerTask need not be generics type

    XMLWordPrintable

Details

    Description

      org.jboss.as.ejb3.timerservice.TimerTask class is currently declared as generics type with <T extends TimerImpl> as the type parameter.  This class is extended by org.jboss.as.ejb3.timerservice.CalendarTimerTask, which still performs down cast from TimerImpl to CalendarTimer. So there is no benefits with generics type and we should be able to make both classes non-generics.

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: