Github user aledsage commented on the pull request:
https://github.com/apache/incubator-brooklyn/pull/397#issuecomment-67067270
Thanks @ahgittin - have changed it to:
// persistence could be null if deserializing state written by an old
version; in which case default to 'required'
return (persistence != null) ? persistence :
SensorPersistenceMode.REQUIRED;
And have added `@since 0.7.0` on new class / method in `AttributeSensor`.
Once jenkins confirms all ok, I'll merge.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---