]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed one typo.
authorMarc Englund <marc.englund@itmill.com>
Mon, 5 Jan 2009 07:25:40 +0000 (07:25 +0000)
committerMarc Englund <marc.englund@itmill.com>
Mon, 5 Jan 2009 07:25:40 +0000 (07:25 +0000)
svn changeset:6415/svn branch:trunk

src/com/itmill/toolkit/ui/Table.java

index 28445c36fdd25ac68e8307df668bd20161cda592..de1d48fc486bb7b7d0d5937ea9dd8797d4c7a868 100644 (file)
@@ -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();