From 99118ccf946486e140cd1a85ff75f2a6c09f4266 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 28 Jul 2014 14:52:26 +0300 Subject: 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 --- server/tests/src/com/vaadin/server/VaadinPortletRequestTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/tests') 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"); -- cgit v1.2.3