You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Alexander Murmann (Jira)" <ji...@apache.org> on 2022/02/26 17:40: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 ]
Alexander Murmann updated GEODE-10086:
--------------------------------------
Labels: needsTriage (was: )
> 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
> Priority: Major
> Labels: needsTriage
>
> 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)