commit | dbb048ac3d29295ec30d7242d8d498cb8d583e38 | [log] [tgz] |
---|---|---|
author | Michael Ochmann <michael.ochmann@sap.com> | Tue Mar 31 12:24:25 2015 +0200 |
committer | Michael Ochmann <michael.ochmann@sap.com> | Tue Mar 31 12:30:53 2015 +0200 |
tree | e904fe89837cd8fe92b4b4ff6976d0be5b149668 | |
parent | 397ed820928160ec9dee4c8919696fa6c98d04e1 [diff] |
Potential NPE when request entity is missing for PUT/POST requests If the request does not contain a body, org.restlet calls the PUT/POST implementations in ProjectResource etc. with entity equals null, i.e. just checking entity.isAvailable() leads to a NPE. Change-Id: I476c020388440b776a383c42d7f6b5d699fe920d Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>