[PATCH] remove minor unneeded code stutter
------------------------------------------
Key: JCR-1391
URL: https://issues.apache.org/jira/browse/JCR-1391
Project: Jackrabbit
Issue Type: Improvement
Components: jackrabbit-jcr-server
Affects Versions: 1.4
Reporter: Dave Brosius
Priority: Minor
Fix For: 1.4.1
Code has a repeated method call on isOrderable for no reason as such
{code}
public String getSupportedMethods() {
String ms = super.getSupportedMethods();
if (isOrderable()) {
StringBuffer sb = new StringBuffer(ms);
// Ordering
if (isOrderable()) {
sb.append(", ").append(OrderingResource.METHODS);
}
return sb.toString();
} else {
return ms;
}
}
{code}
patch cleans this up.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.