Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2481

Remove dubious use of generics in uima-as-camel classes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      Not sure what the intent was behind declaration like this
      public class UimaAsComponent extends DefaultComponent<Exchange>. This seems to be restricting UimaAsComponent class to operate on Exchange type only. But this does not seem to be enforced. Javadoc generates warnings when seeing this complaining of missing constructor that takes Exchange as an arg. I intend to remove generics from classes in the camel project.

        Activity

        Hide
        joern Joern Kottmann added a comment -

        +1 to remove.

        Show
        joern Joern Kottmann added a comment - +1 to remove.
        Hide
        cwiklik Jerry Cwiklik added a comment -

        Removed generics from uima-as-camel classes

        Show
        cwiklik Jerry Cwiklik added a comment - Removed generics from uima-as-camel classes

          People

          • Assignee:
            cwiklik Jerry Cwiklik
            Reporter:
            cwiklik Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development