]> source.dussan.org Git - vaadin-framework.git/commitdiff
Reformatted project
authorArtur Signell <artur@vaadin.com>
Thu, 9 Aug 2012 16:08:29 +0000 (19:08 +0300)
committerArtur Signell <artur@vaadin.com>
Thu, 9 Aug 2012 16:08:29 +0000 (19:08 +0300)
src/com/vaadin/annotations/JavaScript.java
src/com/vaadin/terminal/gwt/server/ServletPortletHelper.java

index f97457c1cd9f9048875d25891c573e7496c1c70b..357bcc36496357f51dc424245fac3e76f4a47d82 100644 (file)
@@ -20,11 +20,10 @@ import com.vaadin.terminal.gwt.server.ClientConnector;
  * Relative urls are mapped to APP/CONNECTOR/[url] which are by default served
  * from the classpath relative to the class where the annotation is defined.
  * <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"})} 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
  * @version @VERSION@
index b2b962b0fd96f8fe4d78340b05b5329da8fd691d..2a1dc318970c7ff5dde0eafe4eb992b153fc6067 100644 (file)
@@ -31,9 +31,8 @@ class ServletPortletHelper implements Serializable {
             throws ApplicationClassException {
         String applicationParameter = deploymentConfiguration
                 .getInitParameters().getProperty("application");
-        String rootParameter = deploymentConfiguration
-                .getInitParameters().getProperty(
-                        Application.ROOT_PARAMETER);
+        String rootParameter = deploymentConfiguration.getInitParameters()
+                .getProperty(Application.ROOT_PARAMETER);
         ClassLoader classLoader = deploymentConfiguration.getClassLoader();
 
         if (applicationParameter == null) {