You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2020. It is now read-only.
currently the default InstanceProviders only contain primitive types, boxed primitive types, String and Object. for these types it is easy to define a default and a dirty instance using 0 and 1. for other types this might be more complicated and not analog to 0 and 1 anymore.
pro
it may makes sense to add this and other classes to the default InstanceProviders in the ObjectFactory in order to move unnecessary and redundant implementations of CustomInstanceProviders from the client(s) into the api
counter argument to contra 1. an InstanceProvider must only diliver two disctinct instances which are not equal in their results of hashCode, toString and equals. this is acutally not specific to 0 and 1 and values for default and dirty.
if the client has a problem with the default instance provider he can always override it
classes
Locale
BigDecimal
BigInteger
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
contra
pro
classes
The text was updated successfully, but these errors were encountered: