[
https://issues.apache.org/jira/browse/ISIS-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber updated ISIS-1844:
-----------------------------
Issue Type: Improvement (was: Sub-task)
Parent: (was: ISIS-1841)
> API cleanup: make any unchecked casts explicit
> ----------------------------------------------
>
> Key: ISIS-1844
> URL: https://issues.apache.org/jira/browse/ISIS-1844
> Project: Isis
> Issue Type: Improvement
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-M1
>
>
> replace occurrences of
>
> {code:java}
> public <T> T myMethod() {
> ...
> return (T) myObject;
> }
> {code}
> ... with ...
> {code:java}
> public <T> T myMethod() {
> ...
> return Casts.uncheckedCast(myObject);
> }
> {code}
> ... such that we have a programmatic entry point for any unchecked casts.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)