You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/03/16 23:27:00 UTC
[jira] [Updated] (GEODE-10086) Remove unnecessary String builder in Size.java
[ https://issues.apache.org/jira/browse/GEODE-10086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen Nichols updated GEODE-10086:
---------------------------------
Fix Version/s: 1.15.0
> 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
> Fix For: 1.15.0, 1.16.0
>
>
> 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)