You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2021/12/20 06:10:00 UTC

[jira] [Created] (GROOVY-10428) Refactor: split formatting methods out of InvokerHelper (allow separate control of escapeBackslashes)

Paul King created GROOVY-10428:
----------------------------------

             Summary: Refactor: split formatting methods out of InvokerHelper (allow separate control of escapeBackslashes)
                 Key: GROOVY-10428
                 URL: https://issues.apache.org/jira/browse/GROOVY-10428
             Project: Groovy
          Issue Type: Task
            Reporter: Paul King
            Assignee: Paul King
             Fix For: 4.0.0-rc-2


InvokerHelper is primarily a grab bag of functionality associated with invoking methods. It also has numerous methods for formatting. Originally there were only a few such methods but the number has grown over time and additionally functionality would prove useful. It probably makes sense to split these to avoid abuse of the single responsibility principle.

Existing methods will remain and be deprecated. New functionality will only go in the new class.



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