From 697cfcf3d1720022d3b8ea1380ba76b50b2f8e3f Mon Sep 17 00:00:00 2001 From: Artur Date: Wed, 1 Feb 2017 16:49:16 +0200 Subject: Call "destroy" instead of "destory" in JavaScriptRenders (#8263) * Call "destroy" instead of "destory" in JavaScriptRenders For backwards compatibility, calls "destory" if no "destroy" exists Fixes #8162 * Merge branch '7.7' into _js-renderer-destory * Merge branch '7.7' into _js-renderer-destory * Merge branch '7.7' into _js-renderer-destory * Merge branch '7.7' into _js-renderer-destory * Merge branch '7.7' into _js-renderer-destory --- .../main/java/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/src/main/java/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java b/server/src/main/java/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java index e196d861c1..c13e303212 100644 --- a/server/src/main/java/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java +++ b/server/src/main/java/com/vaadin/ui/renderers/AbstractJavaScriptRenderer.java @@ -71,7 +71,7 @@ import elemental.json.JsonValue; *
  • init(cell) - Prepares a cell for rendering. Corresponds to * {@link com.vaadin.client.renderers.ComplexRenderer#init(com.vaadin.client.widget.grid.RendererCellReference)} * .
  • - *
  • destory(cell) - Allows the renderer to release resources + *
  • destroy(cell) - Allows the renderer to release resources * allocate for a cell that will no longer be used. Corresponds to * {@link com.vaadin.client.renderers.ComplexRenderer#destroy(com.vaadin.client.widget.grid.RendererCellReference)} * .
  • -- cgit v1.2.3