diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-11-21 13:45:18 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-11-21 13:45:18 +0200 |
commit | 3fc9f19534b7d1ab06fc73b146b9d31868c205c1 (patch) | |
tree | 1bffb8b9105fe8c150276c646f0ff119f9d6a565 /server/tests | |
parent | 375024684a58c27657abb79ff63f92ce247437b5 (diff) | |
download | vaadin-framework-3fc9f19534b7d1ab06fc73b146b9d31868c205c1.tar.gz vaadin-framework-3fc9f19534b7d1ab06fc73b146b9d31868c205c1.zip |
Global code cleanup
Change-Id: I14f46e6aa4f9cbdd9037f1c4ad1ac38fe7cbda86
Diffstat (limited to 'server/tests')
4 files changed, 4 insertions, 6 deletions
diff --git a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java index 5f9269c6e3..c7330001d3 100644 --- a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java +++ b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java @@ -13,7 +13,6 @@ import javax.servlet.http.HttpServletRequest; import junit.framework.TestCase; - public class TestAbstractApplicationServletStaticFilesLocation extends TestCase { VaadinServlet servlet; diff --git a/server/tests/src/com/vaadin/tests/VaadinClasses.java b/server/tests/src/com/vaadin/tests/VaadinClasses.java index e88786432c..b5933bbd10 100644 --- a/server/tests/src/com/vaadin/tests/VaadinClasses.java +++ b/server/tests/src/com/vaadin/tests/VaadinClasses.java @@ -144,8 +144,7 @@ public class VaadinClasses { String basePackage, String[] ignoredPackages) throws IOException { List<Class<? extends T>> classes = new ArrayList<Class<? extends T>>(); String basePackageDirName = "/" + basePackage.replace('.', '/'); - URL location = VaadinSession.class - .getResource(basePackageDirName); + URL location = VaadinSession.class.getResource(basePackageDirName); if (location.getProtocol().equals("file")) { try { File f = new File(location.toURI()); diff --git a/server/tests/src/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java b/server/tests/src/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java index 577275b4d9..cd9b6c6631 100644 --- a/server/tests/src/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java +++ b/server/tests/src/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java @@ -18,8 +18,7 @@ public class RemoveListenersOnDetach { int numReadOnlyChanges = 0; AbstractField field = new AbstractField() { - final private VaadinSession application = new VaadinSession( - null); + final private VaadinSession application = new VaadinSession(null); private UI uI = new UI() { @Override diff --git a/server/tests/src/com/vaadin/tests/server/navigator/UriFragmentManagerTest.java b/server/tests/src/com/vaadin/tests/server/navigator/UriFragmentManagerTest.java index c680e59210..9ac3dfa4ea 100644 --- a/server/tests/src/com/vaadin/tests/server/navigator/UriFragmentManagerTest.java +++ b/server/tests/src/com/vaadin/tests/server/navigator/UriFragmentManagerTest.java @@ -57,7 +57,8 @@ public class UriFragmentManagerTest extends TestCase { navigator.navigateTo("test"); control.replay(); - UriFragmentChangedEvent event = new UriFragmentChangedEvent(page, "oldtest"); + UriFragmentChangedEvent event = new UriFragmentChangedEvent(page, + "oldtest"); manager.uriFragmentChanged(event); } } |