From c0a192974a4d64f12128a1a957d331a82101a0f4 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 9 Aug 2012 19:08:29 +0300 Subject: [PATCH] Reformatted project --- src/com/vaadin/annotations/JavaScript.java | 9 ++++----- .../vaadin/terminal/gwt/server/ServletPortletHelper.java | 5 ++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/com/vaadin/annotations/JavaScript.java b/src/com/vaadin/annotations/JavaScript.java index f97457c1cd..357bcc3649 100644 --- a/src/com/vaadin/annotations/JavaScript.java +++ b/src/com/vaadin/annotations/JavaScript.java @@ -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. *

- * 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@ diff --git a/src/com/vaadin/terminal/gwt/server/ServletPortletHelper.java b/src/com/vaadin/terminal/gwt/server/ServletPortletHelper.java index b2b962b0fd..2a1dc31897 100644 --- a/src/com/vaadin/terminal/gwt/server/ServletPortletHelper.java +++ b/src/com/vaadin/terminal/gwt/server/ServletPortletHelper.java @@ -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) { -- 2.39.5