parseTextEntry fix.
-------------------

                 Key: ISIS-157
                 URL: https://issues.apache.org/jira/browse/ISIS-157
             Project: Isis
          Issue Type: Bug
          Components: Core: MetaModel
    Affects Versions: 0.1.2-incubating
            Reporter: Dan Haywood
            Priority: Minor


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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to