daniancu opened a new pull request, #21: URL: https://github.com/apache/sling-org-apache-sling-discovery-oak/pull/21
## Summary Refactors `OakDiscoveryService.doUpdateProperties()` — a ~65-line "brain method" that mixed precondition checks, provider-property collection, resource-resolver lifecycle management, stale-key removal, and change detection — into small, single-purpose helpers. No behavior change intended; the three commits are staged so each is independently reviewable. ### Commits 1. Extract helpers to fix brain-method metrics (`77ab3b9`) 2. Simplify `removeStaleKeys` condition (`266c8a3`) 3. Use try-with-resources in `persistProperties` (`dffb1ac`) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
