Merge branch 'stable-2.12'
* stable-2.12: Update 2.12.4 release notes Fix RebaseIfNecessary strategy introducing duplicate commit Handle an NPE in ToolsCatalog.java Confirm email: Return proper error when email is used by other account RestApiServlet: Allow HEAD requests Change-Id: I15414c40f1136236708cca17128bf60fa020c160
This commit is contained in:
		| @@ -326,8 +326,7 @@ public class RestApiServlet extends HttpServlet { | ||||
|         return; | ||||
|       } | ||||
|  | ||||
|       if (viewData.view instanceof RestReadView<?> | ||||
|           && "GET".equals(req.getMethod())) { | ||||
|       if (viewData.view instanceof RestReadView<?> && isGetOrHead(req)) { | ||||
|         result = ((RestReadView<RestResource>) viewData.view).apply(rsrc); | ||||
|       } else if (viewData.view instanceof RestModifyView<?, ?>) { | ||||
|         @SuppressWarnings("unchecked") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David Pursehouse
					David Pursehouse