helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanak Biscuitwala (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HELIX-222) Disallow directly getting and setting ZNRecords from HelixProperty
Date Sat, 18 Jan 2014 02:18:19 GMT

     [ https://issues.apache.org/jira/browse/HELIX-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kanak Biscuitwala updated HELIX-222:
------------------------------------

    Assignee:     (was: Kanak Biscuitwala)

> Disallow directly getting and setting ZNRecords from HelixProperty
> ------------------------------------------------------------------
>
>                 Key: HELIX-222
>                 URL: https://issues.apache.org/jira/browse/HELIX-222
>             Project: Apache Helix
>          Issue Type: Bug
>          Components: helix-core
>            Reporter: Kanak Biscuitwala
>
> There are too many uses of HelixProperty's HelixProperty(ZNRecord) and getRecord() internally.
These should not be used to get around models not having enough setters and getters. No model
class should be allowed to be initialized with a ZNRecord, but rather only with another model
class.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message