[
https://issues.apache.org/jira/browse/ISIS-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17371075#comment-17371075
]
ASF subversion and git services commented on ISIS-2773:
-------------------------------------------------------
Commit ea26ae5c0c191c4ede5e20682013ad326901c900 in isis's branch
refs/heads/ISIS-2779 from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=ea26ae5 ]
ISIS-2773: suppress default UserMenu me action if secman is configured
> Extend FixtureScript API to allow checking of optional params
> -------------------------------------------------------------
>
> Key: ISIS-2773
> URL: https://issues.apache.org/jira/browse/ISIS-2773
> Project: Isis
> Issue Type: Improvement
> Components: Isis Core
> Affects Versions: 2.0.0-M5
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Minor
> Fix For: 2.0.0-M6
>
>
> refactor this hack:
> {code:java}
> public class FixtureScript {
> ...
> protected <T> void optionalParam(
> final String parameterName, final ExecutionContext ec, final Class<T>
> cls) {
> try {
> checkParam(parameterName, ec, cls);
> } catch (IllegalArgumentException e) {
> // Do nothing
> }
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)