Source:
<code>protected void drawBody(final BaseGridRendererHelper.RenderingInformation renderingInformation) { final BaseGridRendererHelper.RenderingBlockInformation bodyBlockInformation = renderingInformation.getBodyBlockInformation(); final BaseGridRendererHelper.RenderingBlockInformation floatingBlockInformation = renderingInformation.getFloatingBlockInformation(); final List<GridColumn<?>> bodyColumns = bodyBlockInformation.getColumns(); final List<GridColumn<?>> floatingColumns = floatingBlockInformation.getColumns(); final double bodyX = bodyBlockInformation.getX(); final double bodyY = bodyBlockInformation.getBodyY(); final double floatingBodyX = floatingBlockInformation.getX(); final double floatingBodyY = floatingBlockInformation.getBodyY(); final int minVisibleRowIndex = renderingInformation.getMinVisibleRowIndex(); final int maxVisibleRowIndex = renderingInformation.getMaxVisibleRowIndex(); <START> body = new Group(); <END> body.setX(bodyX).setY(bodyY); bodySelections = new Group(); bodySelections.setX(bodyX).setY(bodyY); addCommandsToRenderQueue(body, renderGridBodyWidget(bodyColumns, bodyBlockInformation.getX(), minVisibleRowIndex, maxVisibleRowIndex, bodyTransformer, renderingInformation)); if (floatingColumns.size() > 0) { floatingBody = new Group(); floatingBody.setX(floatingBodyX).setY(floatingBodyY); floatingBodySelections = new Group(); floatingBodySelections.setX(floatingBodyX).setY(floatingBodyY); addCommandsToRenderQueue(floatingBody, renderGridBodyWidget(floatingColumns, floatingBlockInformation.getX(), minVisibleRowIndex, maxVisibleRowIndex, floatingColumnsTransformer, renderingInformation)); } }</code><technical_language>lines below, wrap this block with? if (bodyColumns.size() > 0) {</technical_language>

Target:
protected void drawBody(final BaseGridRendererHelper.RenderingInformation renderingInformation) { final BaseGridRendererHelper.RenderingBlockInformation bodyBlockInformation = renderingInformation.getBodyBlockInformation(); final BaseGridRendererHelper.RenderingBlockInformation floatingBlockInformation = renderingInformation.getFloatingBlockInformation(); final double bodyX = bodyBlockInformation.getX(); final double bodyY = bodyBlockInformation.getBodyY(); final double floatingBodyX = floatingBlockInformation.getX(); final double floatingBodyY = floatingBlockInformation.getBodyY(); final int minVisibleRowIndex = renderingInformation.getMinVisibleRowIndex(); final int maxVisibleRowIndex = renderingInformation.getMaxVisibleRowIndex(); if (bodyColumns.size() > 0) { body = new Group(); body.setX(bodyX).setY(bodyY); bodySelections = new Group(); bodySelections.setX(bodyX).setY(bodyY); addCommandsToRenderQueue(body, renderGridBodyWidget(bodyColumns, bodyBlockInformation.getX(), minVisibleRowIndex, maxVisibleRowIndex, bodyTransformer, renderingInformation)); } if (floatingColumns.size() > 0) { floatingBody = new Group(); floatingBody.setX(floatingBodyX).setY(floatingBodyY); floatingBodySelections = new Group(); floatingBodySelections.setX(floatingBodyX).setY(floatingBodyY); addCommandsToRenderQueue(floatingBody, renderGridBodyWidget(floatingColumns, floatingBlockInformation.getX(), minVisibleRowIndex, maxVisibleRowIndex, floatingColumnsTransformer, renderingInformation)); } }