Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-157

[WON'T FIX] parseTextEntry fix.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.1.2-incubating
    • Fix Version/s: 1.17.0
    • Component/s: Core
    • Labels:
      None

      Description

      from email on isis-dev mailing list:

      > The issue with "T parseTextEntry(Object contextPojo, String entry)" is that
      > I went through the code making some previously raw types into generic ones.
      > Doing that caused a runtime class-cast exception with some code, where the
      > owning pojo was being passed in (eg Employee) for the context rather than
      > the value (eg the String representing the Employee's firstName, say).

      So it sounds like I should reinstate the generic parameter (ie back to "T
      parseTextEntry(T context, String entry)" ), and then fix that place where
      the wrong object is being passed in.

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: