RFR(m): 8140281 deprecate Optional.get()

Stuart Marks stuart.marks at oracle.com
Wed Apr 27 05:42:07 UTC 2016

On 4/26/16 3:43 AM, Stephen Colebourne wrote:
> In OpenGamma Strata we have 546 uses of Optional.get(). Renaming this
> would be painful and add no value.

Hi Stephen,

I just sent a reply [1] to Kevin B, wherein I clarified "rename."

Briefly, it strictly isn't a rename. The old method would be deprecated 
not-for-removal, and would be left in place indefinitely.

Does this still create pain? If so, is there some way the proposal can be 
modified to reduce it?


More information about the core-libs-dev mailing list