[infinispan-issues] [JBoss JIRA] (ISPN-10410) Convert all immutable protostream entities to use @ProtoFactory

Nistor Adrian (Jira) issues at jboss.org
Tue Jul 16 14:34:01 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-10410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nistor Adrian updated ISPN-10410:
---------------------------------
    Description: 
Such fields should be final.  If the field is annotated (no getter), its visibility should be package local and if they have an annotated getter, then the field must be private.

A suitable constructor or static method must exist, conforming to the contract of ProtoFactory annotation.

Some sample code here: https://github.com/infinispan/infinispan/pull/7153

  was:
Such fields should be final.  If the field is annotated (no getter), its visibility should be package local and if they have an annotated getter, then the field must be private.

A suitable constructor or static method must exist, conforming to the contract of ProtoFactory annotation.



> Convert all immutable protostream entities to use @ProtoFactory
> ---------------------------------------------------------------
>
>                 Key: ISPN-10410
>                 URL: https://issues.jboss.org/browse/ISPN-10410
>             Project: Infinispan
>          Issue Type: Enhancement
>            Reporter: Nistor Adrian
>            Assignee: Ryan Emerson
>            Priority: Major
>             Fix For: 10.0.0.Beta5
>
>
> Such fields should be final.  If the field is annotated (no getter), its visibility should be package local and if they have an annotated getter, then the field must be private.
> A suitable constructor or static method must exist, conforming to the contract of ProtoFactory annotation.
> Some sample code here: https://github.com/infinispan/infinispan/pull/7153



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list