diff options
author | John Alhroos <john.ahlroos@itmill.com> | 2010-05-19 13:46:17 +0000 |
---|---|---|
committer | John Alhroos <john.ahlroos@itmill.com> | 2010-05-19 13:46:17 +0000 |
commit | 23a10e7327164b2688cc2da8efe571ce9b6ca6f5 (patch) | |
tree | 7783cc75101f0c49bc903546ed3fd22c495d3bfe /src/com/vaadin/ui | |
parent | 73d3f5be936badec2cdc2b0e3793c0c93a33807b (diff) | |
download | vaadin-framework-23a10e7327164b2688cc2da8efe571ce9b6ca6f5.tar.gz vaadin-framework-23a10e7327164b2688cc2da8efe571ce9b6ca6f5.zip |
Added null check.
svn changeset:13260/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/ui')
-rw-r--r-- | src/com/vaadin/ui/AbsoluteLayout.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/AbsoluteLayout.java b/src/com/vaadin/ui/AbsoluteLayout.java index f2964c58eb..56c3474091 100644 --- a/src/com/vaadin/ui/AbsoluteLayout.java +++ b/src/com/vaadin/ui/AbsoluteLayout.java @@ -159,6 +159,10 @@ public class AbsoluteLayout extends AbstractLayout { * @param css */ public void setCSSString(String css) { + if (css == null) { + return; + } + String[] cssProperties = css.split(";"); for (int i = 0; i < cssProperties.length; i++) { String[] keyValuePair = cssProperties[i].split(":"); |