[
https://issues.apache.org/jira/browse/ARTEMIS-4796?focusedWorklogId=922233&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-922233
]
ASF GitHub Bot logged work on ARTEMIS-4796:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 05/Jun/24 17:22
Start Date: 05/Jun/24 17:22
Worklog Time Spent: 10m
Work Description: gemmellr commented on PR #4959:
URL:
https://github.com/apache/activemq-artemis/pull/4959#issuecomment-2150579148
> I don't really like the name "of" but that's just my personal taste
probably... (of kind of kicks my OCD.. being a preposition, I feel like of
what? :)
>
> but as I said.. that's my personal preference only...
>
> but I don't want to get in the way.. I will get used to it :) and I'm +1
to merge it.. and you should probably merge it soon before you have to rebase
it.
>
> +1 from me.
I presume it comes from the trend of Map.of(..) etc factory helpers. I dont
mind it, though I personally wouldnt have changed it here given I'd rather
SimpleString vanish, along with all the realted conversions and the byte
doubling etc etc that come with it.
Issue Time Tracking
-------------------
Worklog Id: (was: 922233)
Time Spent: 1h 20m (was: 1h 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: 1h 20m
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact