[ 
https://issues.apache.org/jira/browse/ISIS-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365851#comment-17365851
 ] 

ASF subversion and git services commented on ISIS-2753:
-------------------------------------------------------

Commit 9ed31cfb9f8905b42c43d2a5fd55f0117c8c24e4 in isis's branch 
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=9ed31cf ]

ISIS-2753: changes AbstractDomainEvent#getSubject() to return <T> T

so can remove boilerplate casting in the app


> to avoid explicit casting, make AbstractDomainEvent#getSubject() return <T> T
> -----------------------------------------------------------------------------
>
>                 Key: ISIS-2753
>                 URL: https://issues.apache.org/jira/browse/ISIS-2753
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Core
>    Affects Versions: 2.0.0-M5
>            Reporter: Daniel Keir Haywood
>            Assignee: Daniel Keir Haywood
>            Priority: Trivial
>             Fix For: 2.0.0-M6
>
>
> ... rather than Object.
> This will save the application having to perform an explicit case; the java 
> compiler will put in the cast for us.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to