You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (JIRA)" <ji...@apache.org> on 2018/01/22 08:29:00 UTC
[jira] [Created] (ISIS-1844) API cleanup: make any unchecked casts
explicit
Andi Huber created ISIS-1844:
--------------------------------
Summary: 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
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)