You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/06/04 21:19:00 UTC
[jira] [Work logged] (ARTEMIS-4796) Simplify SimpleString API
[ https://issues.apache.org/jira/browse/ARTEMIS-4796?focusedWorklogId=922039&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922039 ]
ASF GitHub Bot logged work on ARTEMIS-4796:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 04/Jun/24 21:18
Start Date: 04/Jun/24 21:18
Worklog Time Spent: 10m
Work Description: jbertram opened a new pull request, #4959:
URL: https://github.com/apache/activemq-artemis/pull/4959
This commit does the following:
- deprecate the verbosely named `toSimpleString` static factory methods
- add `of` static factory methods for all the ctors
- replace any uses of the normal ctors with the `of` counterparts
This makes the code more concise and readable.
Issue Time Tracking
-------------------
Worklog Id: (was: 922039)
Remaining Estimate: 0h
Time Spent: 10m
> Simplify SimpleString API
> -------------------------
>
> Key: ARTEMIS-4796
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4796
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Instead of using the verbosely named {{toSimpleString}} static factory method (and its overloaded counterparts), {{SimpleString}} should provide {{of}} implementations. This change would make the code more concise and readable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact