[
https://issues.apache.org/jira/browse/OAK-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved OAK-202.
-------------------------------
Resolution: Incomplete
Resolving as Incomplete. I think we all agree on the goal here, but as
mentioned the details can be case-specific and depend on personal preferences,
so it's better to do such changes on a case-by-case basis in more specific
issues.
> Simplify the code when possible
> -------------------------------
>
> Key: OAK-202
> URL: https://issues.apache.org/jira/browse/OAK-202
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Thomas Mueller
> Priority: Minor
>
> Sometimes it's possible to simplify the code, for example:
> - making methods static when possible, so a reader knows the method doesn't
> change the state of an object
> - the "else" is unnecessary if the "if" block always returns
--
This message was sent by Atlassian JIRA
(v6.1#6144)