You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/08 14:54:18 UTC
[jira] [Commented] (FLINK-6874) Static and transient fields ignored
for POJOs
[ https://issues.apache.org/jira/browse/FLINK-6874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042803#comment-16042803 ]
ASF GitHub Bot commented on FLINK-6874:
---------------------------------------
GitHub user greghogan opened a pull request:
https://github.com/apache/flink/pull/4091
[FLINK-6874] [docs] Static and transient fields ignored for POJOs
Note that static and transient fields are ignored when TypeExtrator validates a POJO.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/greghogan/flink 6874_static_and_transient_fields_ignored_for_pojos
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4091.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4091
----
commit 64c4669c6c937a4611076f5bfcc2f334f70ca46e
Author: Greg Hogan <co...@greghogan.com>
Date: 2017-06-08T14:51:49Z
[FLINK-6874] [docs] Static and transient fields ignored for POJOs
Note that static and transient fields are ignored when TypeExtrator
validates a POJO.
----
> Static and transient fields ignored for POJOs
> ---------------------------------------------
>
> Key: FLINK-6874
> URL: https://issues.apache.org/jira/browse/FLINK-6874
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 1.4.0
> Reporter: Greg Hogan
> Assignee: Greg Hogan
> Priority: Trivial
>
> Update {{dev/types_serialization.html}} to note that static and transient fields are ignored when validating a POJO ({{TypeExtractor#analyzePojo}} calls {{#getAllDeclaredFields}} which ignores transient and static fields).
> "All fields in the class (and all superclasses) are either public (and non-final) or have a public getter- and a setter- method that follows the Java beans naming conventions for getters and setters."
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)