aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-12-03 18:24:26 +0200
committerLeif Åstrand <leif@vaadin.com>2014-12-03 18:27:30 +0200
commitd499cfd03e8b6574fbea8604e09a47470c058aa6 (patch)
treeefdaf9e60cc323ad1dd6c15690710adb7c80830e /server/src
parent33c2cb153cc26ed664af93440b4260e9c9ad9dee (diff)
downloadvaadin-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.java6
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");