Prevented potential NPE.
Prevented potential NPE.
Merge branch '2.2' of github.com:restlet/restlet-framework-java into 2.2