diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-08-09 09:42:25 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2013-08-09 09:42:49 +0300 |
commit | 4f3e81a8db20c780c3c4733627be1793fb17921a (patch) | |
tree | d704af7ac5de772362f38aa3e785f51fac5e3211 /server/src | |
parent | 5fb05e84c80931fcaa9929ad556a20f5316e06a8 (diff) | |
download | vaadin-framework-4f3e81a8db20c780c3c4733627be1793fb17921a.tar.gz vaadin-framework-4f3e81a8db20c780c3c4733627be1793fb17921a.zip |
Use <code> instead of {@code} for sample containing { and } (#12311)
Change-Id: Ibbcc48e5557521bfe50e73e63ad723fe7da29c9b
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/annotations/JavaScript.java | 9 | ||||
-rw-r--r-- | server/src/com/vaadin/annotations/StyleSheet.java | 4 |
2 files changed, 7 insertions, 6 deletions
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. * </ul> * <p> - * 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: <code>@JavaScript({"http://host.com/file1.js", "file2.js"})</code> + * 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 diff --git a/server/src/com/vaadin/annotations/StyleSheet.java b/server/src/com/vaadin/annotations/StyleSheet.java index 6540633f8f..bc5b011873 100644 --- a/server/src/com/vaadin/annotations/StyleSheet.java +++ b/server/src/com/vaadin/annotations/StyleSheet.java @@ -49,8 +49,8 @@ import com.vaadin.server.ClientConnector; * VAADIN folder and vaadin:// you can publish stylesheets which use images or * other files with relative paths. * <p> - * Example: {@code @StyleSheet( "http://host.com/file1.css", "file2.css"})} on - * the class com.example.MyConnector would load the file + * Example: <code>@StyleSheet({"http://host.com/file1.css", "file2.css"})</code> + * on the class com.example.MyConnector would load the file * http://host.com/file1.css as is and file2.css from /com/example/file2.css on * the server's classpath using the ClassLoader that was used to load * com.example.MyConnector. |