From 4f3e81a8db20c780c3c4733627be1793fb17921a Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 9 Aug 2013 09:42:25 +0300 Subject: Use instead of {@code} for sample containing { and } (#12311) Change-Id: Ibbcc48e5557521bfe50e73e63ad723fe7da29c9b --- server/src/com/vaadin/annotations/JavaScript.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'server/src/com/vaadin/annotations/JavaScript.java') diff --git a/server/src/com/vaadin/annotations/JavaScript.java b/server/src/com/vaadin/annotations/JavaScript.java index bdba70c095..3e9c46083d 100644 --- a/server/src/com/vaadin/annotations/JavaScript.java +++ b/server/src/com/vaadin/annotations/JavaScript.java @@ -44,10 +44,11 @@ import com.vaadin.server.ClientConnector; * file was loaded from a different folder. * *

- * Example: {@code @JavaScript( "http://host.com/file1.js", "file2.js"})} on the - * class com.example.MyConnector would load the file http://host.com/file1.js as - * is and file2.js from /com/example/file2.js on the server's classpath using - * the ClassLoader that was used to load com.example.MyConnector. + * Example: @JavaScript({"http://host.com/file1.js", "file2.js"}) + * on the class com.example.MyConnector would load the file + * http://host.com/file1.js as is and file2.js from /com/example/file2.js on the + * server's classpath using the ClassLoader that was used to load + * com.example.MyConnector. * * @author Vaadin Ltd * @since 7.0.0 -- cgit v1.2.3