diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-11-24 15:19:13 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-11-25 14:46:37 +0000 |
commit | 4fa716411b02fd881652c019b56643193319ab24 (patch) | |
tree | 41fa38770e581f5f2082fadb902f840a5b3501ea /server | |
parent | 1c546617b5f3831587f8d97fb27253eba412c863 (diff) | |
download | vaadin-framework-4fa716411b02fd881652c019b56643193319ab24.tar.gz vaadin-framework-4fa716411b02fd881652c019b56643193319ab24.zip |
Rename a variable in GridStaticSection (#13334)
Change-Id: I3df6e70a275a9106ae97c8c54319a2b61efb8ca5
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/ui/components/grid/GridStaticSection.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/src/com/vaadin/ui/components/grid/GridStaticSection.java b/server/src/com/vaadin/ui/components/grid/GridStaticSection.java index a997c130a0..222e620cf9 100644 --- a/server/src/com/vaadin/ui/components/grid/GridStaticSection.java +++ b/server/src/com/vaadin/ui/components/grid/GridStaticSection.java @@ -127,16 +127,16 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>> /** * Merges columns cells in a row * - * @param properties - * The column properties which header should be merged + * @param propertyIds + * The property ids of columns to merge * @return The remaining visible cell after the merge */ - public CELLTYPE join(Object... properties) { - assert properties.length > 1 : "You need to merge at least 2 properties"; + public CELLTYPE join(Object... propertyIds) { + assert propertyIds.length > 1 : "You need to merge at least 2 properties"; Set<CELLTYPE> cells = new HashSet<CELLTYPE>(); - for (int i = 0; i < properties.length; ++i) { - cells.add(getCell(properties[i])); + for (int i = 0; i < propertyIds.length; ++i) { + cells.add(getCell(propertyIds[i])); } return join(cells); |