You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Grzegorz Grzybek (Jira)" <ji...@apache.org> on 2022/03/24 06:54:00 UTC

[jira] [Commented] (FELIX-6412) Use Configuration.updateIfDifferent

    [ https://issues.apache.org/jira/browse/FELIX-6412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511619#comment-17511619 ] 

Grzegorz Grzybek commented on FELIX-6412:
-----------------------------------------

Of course it was my problem - I've implemented {{org.osgi.service.cm.ConfigurationAdmin}} and {{org.osgi.service.cm.Configuration}} using version 1.5 of org.osgi.service.cm instead of 1.6...
Sorry for confusion ;).

> Use Configuration.updateIfDifferent
> -----------------------------------
>
>                 Key: FELIX-6412
>                 URL: https://issues.apache.org/jira/browse/FELIX-6412
>             Project: Felix
>          Issue Type: Improvement
>          Components: File Install
>            Reporter: Raymond Augé
>            Assignee: Raymond Augé
>            Priority: Major
>             Fix For: fileinstall-3.7.0
>
>
> Configuration Admin spec 1.6 added a {{Configuration.updateIfDifferent}} to avoid needless churning on no-op configuration updates.
> This is particular interesting for FileInstall in scenarios where file modification time was altered, comments were edited, or any other change which doesn't actually result in a config change.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)