jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KuiLIU (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-7427) Inconsistent method name
Date Thu, 19 Apr 2018 15:58:01 GMT
KuiLIU created OAK-7427:
---------------------------

             Summary: Inconsistent method name
                 Key: OAK-7427
                 URL: https://issues.apache.org/jira/browse/OAK-7427
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: KuiLIU


The following method is named as "serialize", but the method seems like to format the data.
The method name "format" should be more clear than "serialize".

{code:java}
    private static String serialize(String segmentId, Iterable<String> references) {
        return segmentId + ":" + Joiner.on(",").join(references);
    }
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message