Hi Evgeny,
Unfortunately, we can't change 2.0 M5 anymore. Maybe you should use a recent snapshot instead?
As a temporary workaround, I suggest that you override this method in your BaseServerResource class to ensure that if null is returned by the parent class, you return an empty variants list.
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~
http://www.restlet.orgNoelios Technologies ~ Co-founder ~
http://www.noelios.com-----Message d'origine-----
De : news [mailto:
[hidden email]] De la part de Evgeny Shepelyuk
Envoyé : mercredi 30 septembre 2009 15:19
À :
[hidden email]
Objet : Re: ServerResource returns null getVariants() when not-annotated
Hello, Jerome
Any chance that 2.0m5 will be updated with this fix ?
--
Regards,
Evgeny Shepelyuk
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2402070------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2402482