diff options
author | Leif Åstrand <leif@vaadin.com> | 2014-12-03 18:24:26 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2014-12-03 18:27:30 +0200 |
commit | d499cfd03e8b6574fbea8604e09a47470c058aa6 (patch) | |
tree | efdaf9e60cc323ad1dd6c15690710adb7c80830e /server/src | |
parent | 33c2cb153cc26ed664af93440b4260e9c9ad9dee (diff) | |
download | vaadin-framework-d499cfd03e8b6574fbea8604e09a47470c058aa6.tar.gz vaadin-framework-d499cfd03e8b6574fbea8604e09a47470c058aa6.zip |
Rename row key parameter for consistency (#13334)
Change-Id: Ic409ec9c8f0146314fe359b184403e112264a75b
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/ui/Grid.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java index 75c1148382..23193e230b 100644 --- a/server/src/com/vaadin/ui/Grid.java +++ b/server/src/com/vaadin/ui/Grid.java @@ -1812,14 +1812,14 @@ public class Grid extends AbstractComponent implements SelectionChangeNotifier, * client. This method can be used to get the item id for the row key * that the client has sent. * - * @param key + * @param rowKey * the row key for which to retrieve an item id * @return the item id corresponding to {@code key} */ - protected Object getItemId(String key) { + protected Object getItemId(String rowKey) { if (getParent() instanceof Grid) { Grid grid = (Grid) getParent(); - return grid.getKeyMapper().getItemId(key); + return grid.getKeyMapper().getItemId(rowKey); } else { throw new IllegalStateException( "Renderers can be used only with Grid"); |