]> source.dussan.org Git - vaadin-framework.git/commitdiff
cleaned redundancy, added deprecated annotation
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 14 Dec 2009 14:24:50 +0000 (14:24 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 14 Dec 2009 14:24:50 +0000 (14:24 +0000)
svn changeset:10287/svn branch:6.2

src/com/vaadin/terminal/gwt/server/JsonPaintTarget.java

index 8128e99f004e574d25ac31d77f0d3943e9f8dd93..e0f888e6cb56fb52195040316874af4bc6095e34 100644 (file)
@@ -674,10 +674,10 @@ public class JsonPaintTarget implements PaintTarget {
         return cacheEnabled && isPreviouslyPainted;
     }
 
+    @Deprecated
     public void paintReference(Paintable paintable, String referenceName)
             throws PaintException {
-        final String id = getPaintIdentifier(paintable);
-        addAttribute(referenceName, id);
+        addAttribute(referenceName, paintable);
     }
 
     public String getPaintIdentifier(Paintable paintable) throws PaintException {