Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-756

CssSelectorSupportRenderingModel doesn't use generics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • 1.4.2
    • None

      RenderingModelImpl has apparently been fixed to use generics correctly ('implements RenderingModel<RD>' instead the former 'implements RenderingModel'), but now we run into problems with other Magnolia class which don't use generics.

      For instance we have a class of our own which 'extends RenderingModelImpl<Paragraph> implements CssSelectorSupportRenderingModel', but since CssSelectorSupportRenderingModel 'extends RenderingModel' we get compilation errors.

      Please use generics consistently to avoid these problems.

        Acceptance criteria

              pbaerfuss Philipp Bärfuss
              breun Nils Breunese
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: