[
https://issues.apache.org/jira/browse/ISIS-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber closed ISIS-1844.
----------------------------
Resolution: Fixed
no more unchecked cast warnings
> API cleanup: make any unchecked casts explicit
> ----------------------------------------------
>
> Key: ISIS-1844
> URL: https://issues.apache.org/jira/browse/ISIS-1844
> Project: Isis
> Issue Type: Sub-task
> 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)