Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RT_Util Refactoring #1

Open
jdcrensh opened this issue Apr 25, 2016 · 0 comments
Open

RT_Util Refactoring #1

jdcrensh opened this issue Apr 25, 2016 · 0 comments

Comments

@jdcrensh
Copy link
Member

Some refactoring should be done for RT_Util and RT_UtilTest. Over time, it's become a somewhat bloated static utility class. Breaking the methods out into multiple classes named for the responsibilities they perform would ease maintenance and make the API easier to use. The challenge would be minimizing the quantity of new utility classes so that they don't end up being too small.

RT_BooleanUtil: Booleans
RT_CollectionUtil: Lists, Sets, Maps
RT_DateUtil: Dates
RT_NumberUtil: Integers, Decimals
RT_PagesUtil: Picklists, Messages
RT_SchemaUtil: Describes, Query building, DML
RT_StringUtil: Strings
RT_SystemUtil: Trigger utils, Limits, Stopwatch, equals/hashCode, logging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant