[ https://issues.apache.org/jira/browse/OAK-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085860#comment-17085860 ]
Julian Reschke commented on OAK-9010: ------------------------------------- Tried the change in more places, and IMHO it looks good. A typical change is: {noformat} - public static final boolean DEFAULT_LEASE_CHECK_DISABLED = - Boolean.valueOf(System.getProperty("oak.documentMK.disableLeaseCheck", "false")); + public static final boolean DEFAULT_LEASE_CHECK_DISABLED = SystemPropertySupplier + .create("oak.documentMK.disableLeaseCheck", Boolean.FALSE).loggingTo(LOG).get(); {noformat} > Standardize handling of system properties > ----------------------------------------- > > Key: OAK-9010 > URL: https://issues.apache.org/jira/browse/OAK-9010 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: rdbmk > Reporter: Julian Reschke > Assignee: Julian Reschke > Priority: Major > Attachments: OAK-9010-2.diff, OAK-9010-3.diff, OAK-9010-4.diff, > OAK-9010-5.diff, OAK-9010.diff > > > I'd like to somewhat standardize getting system properties, with respect to: > - default handling > - parsing > - logging -- This message was sent by Atlassian Jira (v8.3.4#803005)