[ 
https://issues.apache.org/jira/browse/GEODE-10086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499094#comment-17499094
 ] 

ASF subversion and git services commented on GEODE-10086:
---------------------------------------------------------

Commit 040062de0b3711837fe88495c480b8d0d613ed20 in geode's branch 
refs/heads/develop from Nabarun Nag
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=040062d ]

GEODE-10086: Removed StringBuilder variables (#7399)

* Removed StringBuilder
* Using local string

> Remove unnecessary String builder in Size.java
> ----------------------------------------------
>
>                 Key: GEODE-10086
>                 URL: https://issues.apache.org/jira/browse/GEODE-10086
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Nabarun Nag
>            Assignee: Nabarun Nag
>            Priority: Major
>              Labels: needsTriage, pull-request-available
>
> Previously:
> {code:java}
> errMessage
>           .append(String.format("The input region name for the %s request is 
> null",
>               "size"));
>       writeErrorResponse(clientMessage, MessageType.SIZE_ERROR, 
> errMessage.toString(), {code}
> There is no need for a String builder, a local string will do the job



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to