]> source.dussan.org Git - vaadin-framework.git/commitdiff
Escape markup in CustomLayout's JavaDoc (#12410)
authorHenrik Paul <henrik@vaadin.com>
Tue, 20 Aug 2013 07:13:32 +0000 (07:13 +0000)
committerVaadin Code Review <review@vaadin.com>
Tue, 20 Aug 2013 13:33:06 +0000 (13:33 +0000)
svn changeset:26111/svn branch:6.8

Change-Id: I8585c9022b78381a40d9008b0d489aecd741b011

server/src/com/vaadin/ui/CustomLayout.java

index 7bffa050587d748d4e1eaacb072f39832064fe31..37c9a4fa21bd3b9553c51807e732747d2be414be 100644 (file)
@@ -80,7 +80,7 @@ public class CustomLayout extends AbstractLayout implements LegacyComponent {
      * @param templateStream
      *            Stream containing template data. Must be using UTF-8 encoding.
      *            To use a String as a template use for instance new
-     *            ByteArrayInputStream("<template>".getBytes()).
+     *            ByteArrayInputStream("&lt;template&gt;".getBytes()).
      * @param streamLength
      *            Length of the templateStream
      * @throws IOException
@@ -92,7 +92,7 @@ public class CustomLayout extends AbstractLayout implements LegacyComponent {
 
     /**
      * Constructor for custom layout with given template name. Template file is
-     * fetched from "<theme>/layout/<templateName>".
+     * fetched from "&lt;theme&gt;/layout/&lt;templateName&gt;".
      */
     public CustomLayout(String template) {
         this();