mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
1) Prefer .getConstructor().newInstance() over .newInstance() because otherwise checked exceptions can be propagated from the constructor even though they aren't declared. 2) Use the type T in the parameters to instantiate(). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138874730 |
||
---|---|---|
.. | ||
com/google | ||
google/registry |