[ https://issues.apache.org/jira/browse/ISIS-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775241#comment-16775241 ]
ASF subversion and git services commented on ISIS-2100: ------------------------------------------------------- Commit 108d92c08dcf668de3743972e5872200b6c5cc18 in isis's branch refs/heads/v2 from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=108d92c ] ISIS-2100: Reduce call-site complexity of 'BuilderScripts' Task-Url: https://issues.apache.org/jira/browse/ISIS-2100 > 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-M3 > > > 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 (v7.6.3#76005)