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

Improved DefaultFactory#create(Class<T>) #1499

Merged
merged 3 commits into from
Dec 15, 2021
Merged

Improved DefaultFactory#create(Class<T>) #1499

merged 3 commits into from
Dec 15, 2021

Commits on Dec 3, 2021

  1. DefaultFactory#create(Class<T>):

    Only handle Map differently than normal if the Map is an interface
    
    Handle SortedMap
    rgoldberg committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    0911ac5 View commit details
    Browse the repository at this point in the history
  2. DefaultFactory#create(Class<T>):

    Simplified normal instantiation
    rgoldberg committed Dec 3, 2021
    Configuration menu
    Copy the full SHA
    4872dbd View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. DefaultFactory#create(Class<T>):

    Reinstated use of `Class#newInstance()` instead of `Constructor#newInstance()`.
    
    Only use `Constructor#setAccessible(true)` if `IllegalAccessException` thrown.
    rgoldberg committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    e43ccf0 View commit details
    Browse the repository at this point in the history