ronin icon indicating copy to clipboard operation
ronin copied to clipboard

required parameters

Open kprevas opened this issue 14 years ago • 1 comments

Annotate a parameter with @Required, and have RoninServlet throw if that parameter isn't passed in. Saves a lot of tedious null-checking in controller methods.

kprevas avatar Jan 20 '11 05:01 kprevas

Gosu does not yet support annotations on parameters.

kprevas avatar Jan 20 '11 05:01 kprevas