[ https://issues.apache.org/jira/browse/IGNITE-4063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15770260#comment-15770260 ]
ASF GitHub Bot commented on IGNITE-4063: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/ignite/pull/1270 > BinaryType.fieldNames() should return names in consistent order > --------------------------------------------------------------- > > Key: IGNITE-4063 > URL: https://issues.apache.org/jira/browse/IGNITE-4063 > Project: Ignite > Issue Type: Bug > Components: binary > Affects Versions: 1.7 > Reporter: Valentin Kulichenko > Assignee: Taras Ledkov > Priority: Critical > Fix For: 2.0 > > > In some cases it can be useful to get the field names from metadata in the > order fields were written when the metadata was created (i.e. object was > serialized for the first time). For example, this can be used to recreate the > object using builder preserving the consistent field ordering, so that > {{BinaryObject.equals()}} method works properly. > Basically, we just need to replace {{HashMap}} with {{LinkedHashMap}} in the > {{BinaryType}} implementation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)