[ https://issues.apache.org/jira/browse/STANBOL-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rafa Haro closed STANBOL-1468. ------------------------------ Resolution: Won't Fix > Inconsistent method name "toLRU" > -------------------------------- > > Key: STANBOL-1468 > URL: https://issues.apache.org/jira/browse/STANBOL-1468 > Project: Stanbol > Issue Type: Improvement > Reporter: KuiLIU > Priority: Major > Attachments: rename-method.patch > > > The following method "toLRU" is adding the data of the paraement 'r' to the > variable "lru", but it is named "toLRU". "toLRU" seems to mean that > converting one object to another one, so that "toLRU" may be confusing. > "addToLRU" should be better. > {code:java} > private void toLRU(Representation r){ > lru.put(r.getId(), r); > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)