summaryrefslogtreecommitdiffstats
path: root/server/tests
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-07-28 14:52:26 +0300
committerArtur Signell <artur@vaadin.com>2014-07-31 15:24:50 +0300
commit99118ccf946486e140cd1a85ff75f2a6c09f4266 (patch)
tree45691642fa638f2ea1d9f4dd523e63f7157e6d65 /server/tests
parent92da25c0b494e059985486bfaaabf434ac59afa1 (diff)
downloadvaadin-framework-99118ccf946486e140cd1a85ff75f2a6c09f4266.tar.gz
vaadin-framework-99118ccf946486e140cd1a85ff75f2a6c09f4266.zip
Disable automatic removal of trailing whitespace and reformatted using Luna
Automatic removal of trailing whitespaces in Eclipse does not work even in a nearly consistent way across platforms, versions or even on the same maching within the same workspaces. Saving the same file multiple times even alternates between adding and removing a whitespace on empty block comment lines when saving. Change-Id: I0efd307fd48869ea688eb79aa77c9ba38de5a4a6
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/src/com/vaadin/server/VaadinPortletRequestTests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/src/com/vaadin/server/VaadinPortletRequestTests.java b/server/tests/src/com/vaadin/server/VaadinPortletRequestTests.java
index 6e40c57718..bf2b809529 100644
--- a/server/tests/src/com/vaadin/server/VaadinPortletRequestTests.java
+++ b/server/tests/src/com/vaadin/server/VaadinPortletRequestTests.java
@@ -42,7 +42,8 @@ public class VaadinPortletRequestTests {
@Test
public void defaultValueForPortletPreferenceIsNull() {
- when(preferences.getValue(anyString(), isNull(String.class))).thenReturn(null);
+ when(preferences.getValue(anyString(), isNull(String.class)))
+ .thenReturn(null);
String value = sut.getPortletPreference("foo");