diff options
author | John Ahlroos <john@vaadin.com> | 2012-08-31 14:22:26 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2012-08-31 14:23:03 +0300 |
commit | dc8bc6119c1bd019600559db552ec26b4db2ec54 (patch) | |
tree | 3d83f592737c9ed3610c62025a788ed689ac2e62 /server/src/com/vaadin/ui/JavaScript.java | |
parent | 01646b14df5708e50e4eb031ec5b4f0da4ab5d15 (diff) | |
download | vaadin-framework-dc8bc6119c1bd019600559db552ec26b4db2ec54.tar.gz vaadin-framework-dc8bc6119c1bd019600559db552ec26b4db2ec54.zip |
More state getter removal
Diffstat (limited to 'server/src/com/vaadin/ui/JavaScript.java')
-rw-r--r-- | server/src/com/vaadin/ui/JavaScript.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/com/vaadin/ui/JavaScript.java b/server/src/com/vaadin/ui/JavaScript.java index f3e8564fab..f9324ba321 100644 --- a/server/src/com/vaadin/ui/JavaScript.java +++ b/server/src/com/vaadin/ui/JavaScript.java @@ -1,4 +1,4 @@ -/* +/* * Copyright 2011 Vaadin Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -93,7 +93,7 @@ public class JavaScript extends AbstractExtension { */ public void addFunction(String name, JavaScriptFunction function) { functions.put(name, function); - getState().getNames().add(name); + getState().names.add(name); } /** @@ -109,7 +109,7 @@ public class JavaScript extends AbstractExtension { */ public void removeFunction(String name) { functions.remove(name); - getState().getNames().remove(name); + getState().names.remove(name); } /** |