]> source.dussan.org Git - vaadin-framework.git/commitdiff
removed @override (java 1.4 compliance) + added comment
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 30 Oct 2007 13:57:37 +0000 (13:57 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 30 Oct 2007 13:57:37 +0000 (13:57 +0000)
svn changeset:2624/svn branch:trunk

src/com/itmill/toolkit/ui/CustomLayout.java

index 6ae1d63584e58be9f648fb60403df91da9bc2098..691520126676ac01ff54e0afd6a676c6aca1b198 100644 (file)
@@ -217,7 +217,12 @@ public class CustomLayout extends AbstractComponentContainer implements Layout {
                }
        }
 
-       @Override
+       /**
+        * CustomLayout's template selecting was previously implemented with
+        * setStyle. Overriding to improve backwards compatibility.
+        * 
+        * @param name template name
+        */
        public void setStyle(String name) {
                setTemplateName(name);
        }
@@ -230,7 +235,5 @@ public class CustomLayout extends AbstractComponentContainer implements Layout {
                this.templateName = templateName;
                requestRepaint();
        }
-       
-       
 
 }