You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/08/20 13:26:00 UTC

[jira] [Commented] (ISIS-2100) Reduce call-site complexity of 'BuilderScripts'

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

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

Commit 9ef50e9d74d22deb5c6bd14107292ddcb94ac09b in isis's branch refs/heads/v2-antora from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=9ef50e9 ]

ISIS-2100: fixes misspelt name of IsisIntegrationTestAbstactWithFixtures

changed to IsisIntegrationTestAbstractWithFixtures


> Reduce call-site complexity of 'BuilderScripts'
> -----------------------------------------------
>
>                 Key: ISIS-2100
>                 URL: https://issues.apache.org/jira/browse/ISIS-2100
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0
>
>
> Removing type-params, where redundant ...
> {code:java}
> @Accessors(chain = true)
> public class SimpleObjectBuilder 
> extends BuilderScriptAbstract<SimpleObject> { // <= only 1 type param
>     @Getter
>     private SimpleObject object;
> 	...
> }
> @AllArgsConstructor
> public enum SimpleObject_persona 
> implements PersonaWithBuilderScript<SimpleObjectBuilder> /* <= only 1 type param */ ... {
>     FOO("Foo"),
>     BAR("Bar"),
> 	
> 	...
>     public SimpleObjectBuilder builder() {
>         return new SimpleObjectBuilder().setName(name);
>     }
>     public static class PersistAll
>     extends PersonaEnumPersistAll<SimpleObject_persona, SimpleObject> /* <= only 2 type params */ {
> 		...
>     }
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)