neilcsmith-net commented on PR #8407:
URL: https://github.com/apache/netbeans/pull/8407#issuecomment-3263264798

   > As if this would be so simple.
   
   Well, probably!
   
   > From the API perspective, the most compatible approach is likely the 
`ReturnValue` record, unless someone looked at the code and saw that those keys 
were Integers ...
   
   Which we know is happening!
   
   As far as I can tell the problem is only removal of the ability to 
differentiate YES and OK? Or is there another overlap I'm missing? 
   
   What is the likelihood of someone needing to differentiate those two return 
values from a single dialog? There is a way to have both in one dialog, but not 
specified in the API as far as I can tell? Nor does the API state which values 
are unique?
   
   This solution seems overly complex for an issue that seems hypothetical. 
Have you an example of actual usage that demonstrates where just using the 
integers will fail?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to