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

ASF GitHub Bot commented on KARAF-7097:
---------------------------------------

oliverlietz commented on pull request #1375:
URL: https://github.com/apache/karaf/pull/1375#issuecomment-835301138


   `updated` must never become `false` again once `true`:
   
   ```
               for (String key : old.keySet()) {
                   Object oldValue = old.get(key);
                   Object propertiesValue = properties.get(key);
                   if (oldValue instanceof Object[] && propertiesValue 
instanceof Object[]) {
                       if (!Arrays.deepEquals((Object[]) oldValue, (Object[]) 
propertiesValue)) {
                           updated = true;
                       }
                   } else {
                       if (!oldValue.equals(propertiesValue)) {
                           updated = true;
                       }
                   }
               }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> JsonConfigInstaller is continuously updating configurations
> -----------------------------------------------------------
>
>                 Key: KARAF-7097
>                 URL: https://issues.apache.org/jira/browse/KARAF-7097
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>            Reporter: Oliver Lietz
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>         Attachments: karaf.log.1.zip
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to