You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "KuiLIU (JIRA)" <ji...@apache.org> on 2018/04/18 09:13:00 UTC
[jira] [Updated] (DRILL-6336) Inconsistent method name.
[ https://issues.apache.org/jira/browse/DRILL-6336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
KuiLIU updated DRILL-6336:
--------------------------
Description:
The following method is named "append", but its body code is an method invocation "writer.print( s )". The method should be named "print".
{code:java}
public DebugStringBuilder append( String s ) {
writer.print( s );
return this;
}
{code}
was:
The fellowing method is named "append", but its body code is an method invocation "writer.print( s )". The method should be named "print".
{code:java}
public DebugStringBuilder append( String s ) {
writer.print( s );
return this;
}
{code}
> Inconsistent method name.
> -------------------------
>
> Key: DRILL-6336
> URL: https://issues.apache.org/jira/browse/DRILL-6336
> Project: Apache Drill
> Issue Type: Improvement
> Reporter: KuiLIU
> Priority: Major
> Attachments: rename-method.patch
>
>
> The following method is named "append", but its body code is an method invocation "writer.print( s )". The method should be named "print".
> {code:java}
> public DebugStringBuilder append( String s ) {
> writer.print( s );
> return this;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)