From: Marc Englund Date: Mon, 5 Jan 2009 07:25:40 +0000 (+0000) Subject: Fixed one typo. X-Git-Tag: 6.7.0.beta1~3416 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0c21d6b47225885a6116192c106fd5f9e1684c6b;p=vaadin-framework.git Fixed one typo. svn changeset:6415/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/ui/Table.java b/src/com/itmill/toolkit/ui/Table.java index 28445c36fd..de1d48fc48 100644 --- a/src/com/itmill/toolkit/ui/Table.java +++ b/src/com/itmill/toolkit/ui/Table.java @@ -2493,17 +2493,17 @@ public class Table extends AbstractSelect implements Action.Container, /** * Removes a generated column previously added with addGeneratedColumn. * - * @param colunmId + * @param columnId * id of the generated column to remove * @return true if the column could be removed (existed in the Table) */ - public boolean removeGeneratedColumn(Object colunmId) { - if (columnGenerators.containsKey(colunmId)) { - columnGenerators.remove(colunmId); + public boolean removeGeneratedColumn(Object columnId) { + if (columnGenerators.containsKey(columnId)) { + columnGenerators.remove(columnId); // remove column from visibleColumns list unless it exists in // container (generator previously overrode this column) - if (!items.getContainerPropertyIds().contains(colunmId)) { - visibleColumns.remove(colunmId); + if (!items.getContainerPropertyIds().contains(columnId)) { + visibleColumns.remove(columnId); } resetPageBuffer(); refreshRenderedCells();