You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2020/07/24 03:12:00 UTC

[jira] [Created] (YUNIKORN-315) use resources.DAOString in handler instead of trim

Wilfred Spiegelenburg created YUNIKORN-315:
----------------------------------------------

             Summary: use resources.DAOString in handler instead of trim
                 Key: YUNIKORN-315
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-315
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: core - common
            Reporter: Wilfred Spiegelenburg


In the resource object we have a special function to write the resources in a format that is used for the web responses.
The handler code does not use this call and uses a local trim over a String call.

For readability and consistency we should move all web service code that returns resources to use the DAOString() call.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org