summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/main/java/com/vaadin/client/AnimationUtil.java24
-rw-r--r--client/src/main/java/com/vaadin/client/ApplicationConnection.java6
-rw-r--r--client/src/main/java/com/vaadin/client/CSSRule.java12
-rw-r--r--client/src/main/java/com/vaadin/client/DateTimeService.java10
-rw-r--r--client/src/main/java/com/vaadin/client/ResourceLoader.java4
-rw-r--r--client/src/main/java/com/vaadin/client/StyleConstants.java2
-rw-r--r--client/src/main/java/com/vaadin/client/SuperDevMode.java8
-rw-r--r--client/src/main/java/com/vaadin/client/communication/AtmospherePushConnection.java4
-rw-r--r--client/src/main/java/com/vaadin/client/connectors/JavaScriptRendererConnector.java12
-rw-r--r--client/src/main/java/com/vaadin/client/connectors/grid/AbstractSelectionModelConnector.java2
-rw-r--r--client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java4
-rw-r--r--client/src/main/java/com/vaadin/client/debug/internal/DebugButton.java2
-rw-r--r--client/src/main/java/com/vaadin/client/extensions/ResponsiveConnector.java76
-rw-r--r--client/src/main/java/com/vaadin/client/extensions/javascriptmanager/JavaScriptManagerConnector.java8
-rw-r--r--client/src/main/java/com/vaadin/client/ui/AbstractTextFieldWidget.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/HasErrorIndicator.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/HasRequiredIndicator.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/JavaScriptWidget.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VDateField.java12
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VDragAndDropWrapperIE.java10
-rw-r--r--client/src/main/java/com/vaadin/client/ui/VVideo.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/datefield/AbstractDateFieldConnector.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/datefield/DateTimeFieldConnector.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/datefield/InlineDateFieldConnector.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/datefield/InlineDateTimeFieldConnector.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/datefield/PopupDateTimeFieldConnector.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/datefield/TextualDateConnector.java6
-rw-r--r--client/src/main/java/com/vaadin/client/ui/dd/VAcceptCriteria.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/dd/VDragEvent.java2
-rw-r--r--client/src/main/java/com/vaadin/client/ui/dd/VHtml5DragEvent.java6
-rw-r--r--client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java2
-rw-r--r--client/src/main/java/com/vaadin/client/widgets/Escalator.java18
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/connectors/JavaScriptRendererConnector.java12
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java2
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java4
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java4
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VForm.java6
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java2
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EventCellReference.java6
-rw-r--r--compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java18
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeEvent.java8
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeListener.java12
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorPickerGradient.java14
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java12
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/HasColorChangeListener.java10
-rw-r--r--compatibility-server/src/test/java/com/vaadin/tests/server/component/slider/SliderDeclarativeTest.java8
-rw-r--r--compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java8
-rw-r--r--compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/form/FormTest.java8
-rw-r--r--compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java2
-rw-r--r--compatibility-shared/src/main/java/com/vaadin/v7/shared/form/FormState.java6
-rw-r--r--compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/calendar/CalendarState.java2
-rw-r--r--server/src/main/java/com/vaadin/data/Binder.java4
-rw-r--r--server/src/main/java/com/vaadin/data/BinderValidationStatus.java10
-rw-r--r--server/src/main/java/com/vaadin/data/BindingValidationStatus.java2
-rw-r--r--server/src/main/java/com/vaadin/data/HasDataProvider.java2
-rw-r--r--server/src/main/java/com/vaadin/data/RequiredFieldConfigurator.java4
-rw-r--r--server/src/main/java/com/vaadin/data/SimpleResult.java2
-rw-r--r--server/src/main/java/com/vaadin/data/ValidationResult.java4
-rw-r--r--server/src/main/java/com/vaadin/data/provider/HierarchicalDataProvider.java14
-rw-r--r--server/src/main/java/com/vaadin/data/provider/HierarchyMapper.java60
-rw-r--r--server/src/main/java/com/vaadin/navigator/Navigator.java4
-rw-r--r--server/src/main/java/com/vaadin/navigator/PushStateNavigation.java2
-rw-r--r--server/src/main/java/com/vaadin/server/ErrorMessageProducer.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractDateField.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/HasValueChangeMode.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/Notification.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/TextField.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/Tree.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/UI.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/Editor.java10
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/EditorCancelListener.java6
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/EditorOpenListener.java6
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/EditorSaveListener.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/GridDragSource.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java8
-rw-r--r--server/src/main/java/com/vaadin/ui/renderers/ComponentRenderer.java2
-rw-r--r--server/src/main/java/com/vaadin/util/ReflectTools.java4
-rw-r--r--server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootForVerticalLayout.java6
-rw-r--r--server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootTest.java6
-rw-r--r--server/src/test/java/com/vaadin/tests/server/component/treegrid/TreeGridDeclarativeTest.java2
-rw-r--r--shared/src/main/java/com/vaadin/osgi/resources/OsgiVaadinResources.java8
-rw-r--r--shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java4
-rw-r--r--shared/src/main/java/com/vaadin/shared/ApplicationConstants.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/communication/SharedState.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/data/selection/SelectionServerRpc.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/ErrorLevel.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/ValueChangeMode.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldServerRpc.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java16
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedState.java12
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/GridClientRpc.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaClientRpc.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaServerRpc.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaState.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/textfield/AbstractTextFieldClientRpc.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/textfield/TextFieldState.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/tree/TreeMultiSelectionModelState.java2
-rw-r--r--test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java2
-rw-r--r--testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSingleSelectElement.java4
-rw-r--r--testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSplitPanelElement.java6
-rw-r--r--testbench-api/src/main/java/com/vaadin/testbench/elements/NativeSelectElement.java2
-rw-r--r--testbench-api/src/main/java/com/vaadin/testbench/elements/ProgressBarElement.java2
-rw-r--r--testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java20
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptSpan.java6
-rw-r--r--uitest/src/main/java/com/vaadin/tests/elements/splitpanel/SplitPanelComponents.java6
-rw-r--r--uitest/src/main/java/com/vaadin/tests/elements/tabsheet/NestedTabSheet.java6
-rw-r--r--uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementException.java6
-rw-r--r--uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementTabWithoutCaption.java6
-rw-r--r--uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridDetailsLocation.java2
-rw-r--r--uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridFastAsyncUpdate.java2
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateFieldTestTest.java2
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateTimeFieldTestTest.java2
118 files changed, 368 insertions, 368 deletions
diff --git a/client/src/main/java/com/vaadin/client/AnimationUtil.java b/client/src/main/java/com/vaadin/client/AnimationUtil.java
index 9b01b2c93d..b903a3d1ab 100644
--- a/client/src/main/java/com/vaadin/client/AnimationUtil.java
+++ b/client/src/main/java/com/vaadin/client/AnimationUtil.java
@@ -66,15 +66,15 @@ public class AnimationUtil {
listener.@com.vaadin.client.AnimationUtil.AnimationEndListener::onAnimationEnd(Lcom/google/gwt/dom/client/NativeEvent;)(e);
});
callbackFunc.listener = listener;
-
+
elem.addEventListener(@com.vaadin.client.AnimationUtil::ANIMATION_END_EVENT_NAME, callbackFunc, false);
-
+
// Store function reference for later removal
if (!elem._vaadin_animationend_callbacks) {
elem._vaadin_animationend_callbacks = [];
}
elem._vaadin_animationend_callbacks.push(callbackFunc);
-
+
return callbackFunc;
}-*/;
@@ -137,7 +137,7 @@ public class AnimationUtil {
return event.mozAnimationName;
if (event.oAnimationName)
return event.oAnimationName;
-
+
return "";
}-*/;
@@ -145,22 +145,22 @@ public class AnimationUtil {
public static native String getAnimationName(ComputedStyle cstyle)
/*-{
var cs = cstyle.@com.vaadin.client.ComputedStyle::computedStyle;
-
+
if (!cs.getPropertyValue)
return "";
-
+
if (cs.getPropertyValue("-webkit-animation-name"))
return cs.getPropertyValue("-webkit-animation-name");
-
+
if (cs.getPropertyValue("animation-name"))
return cs.getPropertyValue("animation-name");
-
+
if (cs.getPropertyValue("-moz-animation-name"))
return cs.getPropertyValue("-moz-animation-name");
-
+
if (cs.getPropertyValue("-o-animation-name"))
return cs.getPropertyValue("-o-animation-name");
-
+
return "";
}-*/;
@@ -175,7 +175,7 @@ public class AnimationUtil {
'MozAnimation': 'animationend',
'WebkitAnimation': 'webkitAnimationEnd'
}
-
+
for (var a in anims) {
if ( el.style[a] !== undefined ) {
return anims[a];
@@ -194,7 +194,7 @@ public class AnimationUtil {
'mozAnimation',
'webkitAnimation'
]
-
+
for (var i=0; i < anims.length; i++) {
if ( el.style[anims[i]] !== undefined ) {
return anims[i];
diff --git a/client/src/main/java/com/vaadin/client/ApplicationConnection.java b/client/src/main/java/com/vaadin/client/ApplicationConnection.java
index 855f878278..d9e8f545d2 100644
--- a/client/src/main/java/com/vaadin/client/ApplicationConnection.java
+++ b/client/src/main/java/com/vaadin/client/ApplicationConnection.java
@@ -494,7 +494,7 @@ public class ApplicationConnection implements HasHandlers {
return vi;
}
}
-
+
client.getProfilingData = $entry(function() {
var smh = ap.@com.vaadin.client.ApplicationConnection::getMessageHandler()();
var pd = [
@@ -509,7 +509,7 @@ public class ApplicationConnection implements HasHandlers {
pd[pd.length] = smh.@com.vaadin.client.communication.MessageHandler::bootstrapTime;
return pd;
});
-
+
client.getElementByPath = $entry(function(id) {
return componentLocator.@com.vaadin.client.componentlocator.ComponentLocator::getElementByPath(Ljava/lang/String;)(id);
});
@@ -526,7 +526,7 @@ public class ApplicationConnection implements HasHandlers {
return componentLocator.@com.vaadin.client.componentlocator.ComponentLocator::getPathForElement(Lcom/google/gwt/dom/client/Element;)(element);
});
client.initializing = false;
-
+
$wnd.vaadin.clients[TTAppId] = client;
}-*/;
diff --git a/client/src/main/java/com/vaadin/client/CSSRule.java b/client/src/main/java/com/vaadin/client/CSSRule.java
index c425fbd2ce..f045aa7f66 100644
--- a/client/src/main/java/com/vaadin/client/CSSRule.java
+++ b/client/src/main/java/com/vaadin/client/CSSRule.java
@@ -63,11 +63,11 @@ public class CSSRule {
/*-{
if (!$doc.styleSheets)
return null;
-
+
selector = selector.toLowerCase('en');
-
+
var allMatches = [];
-
+
// IE handles imported sheet differently
if (deep && sheet.imports && sheet.imports.length > 0) {
for (var i=0; i < sheet.imports.length; i++) {
@@ -76,13 +76,13 @@ public class CSSRule {
allMatches.concat(imports);
}
}
-
+
var theRules = new Array();
if (sheet.cssRules)
theRules = sheet.cssRules
else if (sheet.rules)
theRules = sheet.rules
-
+
var j = theRules.length;
for (var i=0; i<j; i++) {
var r = theRules[i];
@@ -102,7 +102,7 @@ public class CSSRule {
allMatches = allMatches.concat(imports);
}
}
-
+
return allMatches;
}-*/;
diff --git a/client/src/main/java/com/vaadin/client/DateTimeService.java b/client/src/main/java/com/vaadin/client/DateTimeService.java
index fb4aaf130d..3c37c40b34 100644
--- a/client/src/main/java/com/vaadin/client/DateTimeService.java
+++ b/client/src/main/java/com/vaadin/client/DateTimeService.java
@@ -98,7 +98,7 @@ public class DateTimeService {
/**
* Returns the localized short name of the specified day.
- *
+ *
* @param day
* the day, {@code 0} is {@code SUNDAY}
* @return the localized short name
@@ -114,7 +114,7 @@ public class DateTimeService {
/**
* Returns the first day of the week, according to the used Locale.
- *
+ *
* @return the localized first day of the week, {@code 0} is {@code SUNDAY}
*/
public int getFirstDayOfWeek() {
@@ -128,7 +128,7 @@ public class DateTimeService {
/**
* Returns whether the locale has twelve hour, or twenty four hour clock.
- *
+ *
* @return {@code true} if the locale has twelve hour clock, {@code false}
* for twenty four clock
*/
@@ -165,7 +165,7 @@ public class DateTimeService {
/**
* Returns the first day of week of the specified {@code month}.
- *
+ *
* @param month
* the month, not {@code null}
* @return the first day of week,
@@ -473,7 +473,7 @@ public class DateTimeService {
/**
* Replaces the {@code z} characters of the specified {@code formatStr} with
* the given {@code timeZoneName}.
- *
+ *
* @param formatStr
* The format string, which is the pattern describing the date
* and time format
diff --git a/client/src/main/java/com/vaadin/client/ResourceLoader.java b/client/src/main/java/com/vaadin/client/ResourceLoader.java
index 95212920a5..e009eee914 100644
--- a/client/src/main/java/com/vaadin/client/ResourceLoader.java
+++ b/client/src/main/java/com/vaadin/client/ResourceLoader.java
@@ -405,12 +405,12 @@ public class ResourceLoader {
if (rules === undefined) {
rules = sheet.rules;
}
-
+
if (rules === null) {
// Style sheet loaded, but can't access length because of XSS -> assume there's something there
return 1;
}
-
+
// Return length so we can distinguish 0 (probably 404 error) from normal case.
return rules.length;
} catch (err) {
diff --git a/client/src/main/java/com/vaadin/client/StyleConstants.java b/client/src/main/java/com/vaadin/client/StyleConstants.java
index 96ed58a70e..23c75c8727 100644
--- a/client/src/main/java/com/vaadin/client/StyleConstants.java
+++ b/client/src/main/java/com/vaadin/client/StyleConstants.java
@@ -47,7 +47,7 @@ public class StyleConstants {
/**
* Style name and style name prefix for the error indicator element.
- *
+ *
* @since 8.2
*/
public static final String STYLE_NAME_ERROR_INDICATOR = "v-errorindicator";
diff --git a/client/src/main/java/com/vaadin/client/SuperDevMode.java b/client/src/main/java/com/vaadin/client/SuperDevMode.java
index fa565c4ce8..981bb4ab1b 100644
--- a/client/src/main/java/com/vaadin/client/SuperDevMode.java
+++ b/client/src/main/java/com/vaadin/client/SuperDevMode.java
@@ -125,13 +125,13 @@ public class SuperDevMode {
private static native String getRecompileParameters(String moduleName)
/*-{
var prop_map = $wnd.__gwt_activeModules[moduleName].bindings();
-
+
// convert map to URL parameter string
var props = [];
for (var key in prop_map) {
props.push(encodeURIComponent(key) + '=' + encodeURIComponent(prop_map[key]))
}
-
+
return props.join('&') + '&';
}-*/;
@@ -225,12 +225,12 @@ public class SuperDevMode {
var mod = $wnd.__gwt_activeModules[moduleName];
if (!mod)
return false;
-
+
if (mod.superdevmode) {
// Running in super dev mode already, it is supported
return true;
}
-
+
return !!mod.canRedirect;
}-*/;
diff --git a/client/src/main/java/com/vaadin/client/communication/AtmospherePushConnection.java b/client/src/main/java/com/vaadin/client/communication/AtmospherePushConnection.java
index b46245ddaf..d7a811371b 100644
--- a/client/src/main/java/com/vaadin/client/communication/AtmospherePushConnection.java
+++ b/client/src/main/java/com/vaadin/client/communication/AtmospherePushConnection.java
@@ -525,7 +525,7 @@ public class AtmospherePushConnection implements PushConnection {
JavaScriptObject config)
/*-{
var self = this;
-
+
config.url = uri;
config.onOpen = $entry(function(response) {
self.@com.vaadin.client.communication.AtmospherePushConnection::onOpen(*)(response);
@@ -551,7 +551,7 @@ public class AtmospherePushConnection implements PushConnection {
config.onClientTimeout = $entry(function(request) {
self.@com.vaadin.client.communication.AtmospherePushConnection::onClientTimeout(*)(request);
});
-
+
return $wnd.vaadinPush.atmosphere.subscribe(config);
}-*/;
diff --git a/client/src/main/java/com/vaadin/client/connectors/JavaScriptRendererConnector.java b/client/src/main/java/com/vaadin/client/connectors/JavaScriptRendererConnector.java
index 77450a08fb..ce34a4ec1c 100644
--- a/client/src/main/java/com/vaadin/client/connectors/JavaScriptRendererConnector.java
+++ b/client/src/main/java/com/vaadin/client/connectors/JavaScriptRendererConnector.java
@@ -66,7 +66,7 @@ public class JavaScriptRendererConnector
private static native JavaScriptObject createCellReferenceWrapper()
/*-{
var reference = {};
-
+
var setProperty = function(name, getter, setter) {
var descriptor = {
get: getter
@@ -76,25 +76,25 @@ public class JavaScriptRendererConnector
}
Object.defineProperty(reference, name, descriptor);
};
-
+
setProperty("element", function() {
return reference.target.@CellReference::getElement()();
}, null);
-
+
setProperty("rowIndex", function() {
return reference.target.@CellReference::getRowIndex()();
}, null);
-
+
setProperty("columnIndex", function() {
return reference.target.@CellReference::getColumnIndex()();
}, null);
-
+
setProperty("colSpan", function() {
return reference.target.@RendererCellReference::getColSpan()();
}, function(colSpan) {
reference.target.@RendererCellReference::setColSpan(*)(colSpan);
});
-
+
return reference;
}-*/;
diff --git a/client/src/main/java/com/vaadin/client/connectors/grid/AbstractSelectionModelConnector.java b/client/src/main/java/com/vaadin/client/connectors/grid/AbstractSelectionModelConnector.java
index 2210317c7c..5b0cbc765a 100644
--- a/client/src/main/java/com/vaadin/client/connectors/grid/AbstractSelectionModelConnector.java
+++ b/client/src/main/java/com/vaadin/client/connectors/grid/AbstractSelectionModelConnector.java
@@ -80,7 +80,7 @@ public abstract class AbstractSelectionModelConnector
/**
* Gets space selection handler registered for the Grid.
- *
+ *
* @return space selection handler
*/
protected SpaceSelectHandler<JsonObject> getSpaceSelectionHandler() {
diff --git a/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java b/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java
index 4e7055677e..39c5187839 100644
--- a/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java
+++ b/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java
@@ -522,10 +522,10 @@ public class GridConnector extends AbstractListingConnector
* Method called by {@code CustomColumn} when its renderer changes. This
* method is used to maintain hierarchical renderer wrap in
* {@code TreeGrid}.
- *
+ *
* @param column
* the column which now has a new renderer
- *
+ *
* @since 8.1
*/
public void onColumnRendererChanged(CustomColumn column) {
diff --git a/client/src/main/java/com/vaadin/client/debug/internal/DebugButton.java b/client/src/main/java/com/vaadin/client/debug/internal/DebugButton.java
index 681e7f1454..49023a12e1 100644
--- a/client/src/main/java/com/vaadin/client/debug/internal/DebugButton.java
+++ b/client/src/main/java/com/vaadin/client/debug/internal/DebugButton.java
@@ -44,7 +44,7 @@ public class DebugButton extends Button {
public DebugButton(String caption) {
this(null, null, caption);
}
-
+
public DebugButton(String caption, String title) {
this(null, title, caption);
}
diff --git a/client/src/main/java/com/vaadin/client/extensions/ResponsiveConnector.java b/client/src/main/java/com/vaadin/client/extensions/ResponsiveConnector.java
index 9d22396e4d..26256d1df1 100644
--- a/client/src/main/java/com/vaadin/client/extensions/ResponsiveConnector.java
+++ b/client/src/main/java/com/vaadin/client/extensions/ResponsiveConnector.java
@@ -165,26 +165,26 @@ public class ResponsiveConnector extends AbstractExtensionConnector
*/
private static native void searchForBreakPointsNative()
/*-{
-
+
// Initialize variables
@com.vaadin.client.extensions.ResponsiveConnector::widthRangeCache = [];
@com.vaadin.client.extensions.ResponsiveConnector::heightRangeCache = [];
-
+
var widthRanges = @com.vaadin.client.extensions.ResponsiveConnector::widthRangeCache;
var heightRanges = @com.vaadin.client.extensions.ResponsiveConnector::heightRangeCache;
-
+
// Can't do squat if we can't parse stylesheets
if (!$doc.styleSheets)
return;
-
+
var sheets = $doc.styleSheets;
-
+
// Loop all stylesheets on the page and process them individually
for (var i = 0, len = sheets.length; i < len; i++) {
var sheet = sheets[i];
@com.vaadin.client.extensions.ResponsiveConnector::searchStylesheetForBreakPoints(Lcom/google/gwt/core/client/JavaScriptObject;)(sheet);
}
-
+
}-*/;
/**
@@ -197,15 +197,15 @@ public class ResponsiveConnector extends AbstractExtensionConnector
private static native void searchStylesheetForBreakPoints(
final JavaScriptObject sheet)
/*-{
-
+
// Inline variables for easier reading
var widthRanges = @com.vaadin.client.extensions.ResponsiveConnector::widthRangeCache;
var heightRanges = @com.vaadin.client.extensions.ResponsiveConnector::heightRangeCache;
-
+
// Get all the rulesets from the stylesheet
var theRules = new Array();
var IEOrEdge = @com.vaadin.client.BrowserInfo::get()().@com.vaadin.client.BrowserInfo::isIE()() || @com.vaadin.client.BrowserInfo::get()().@com.vaadin.client.BrowserInfo::isEdge()();
-
+
try {
if (sheet.cssRules) {
theRules = sheet.cssRules
@@ -218,18 +218,18 @@ public class ResponsiveConnector extends AbstractExtensionConnector
", probably because of cross domain issues: " + e);
return;
}
-
+
// Loop through the rulesets
for (var i = 0, len = theRules.length; i < len; i++) {
var rule = theRules[i];
-
+
if (rule.type == 3) {
// @import rule, traverse recursively
@com.vaadin.client.extensions.ResponsiveConnector::searchStylesheetForBreakPoints(Lcom/google/gwt/core/client/JavaScriptObject;)(rule.styleSheet);
-
+
} else if (rule.type == 1 || !rule.type) {
// Regular selector rule
-
+
// Helper function
var pushToCache = function(ranges, selector, min, max) {
// Avoid adding duplicates
@@ -245,46 +245,46 @@ public class ResponsiveConnector extends AbstractExtensionConnector
ranges.push([selector, min, max]);
}
};
-
+
// Array of all of the separate selectors in this ruleset
var haystack = rule.selectorText.split(",");
-
+
// IE/Edge parses CSS like .class[attr="val"] into [attr="val"].class so we need to check for both
var selectorRegEx = IEOrEdge ? /\[.*\]([\.|#]\S+)/ : /([\.|#]\S+?)\[.*\]/;
-
+
// Loop all the selectors in this ruleset
for (var k = 0, len2 = haystack.length; k < len2; k++) {
-
+
// Split the haystack into parts.
var widthRange = haystack[k].match(/\[width-range.*?\]/);
var heightRange = haystack[k].match(/\[height-range.*?\]/);
var selector = haystack[k].match(selectorRegEx);
-
+
if (selector != null) {
selector = selector[1];
-
+
// Check for width-ranges.
if (widthRange != null) {
var minMax = widthRange[0].match(/\[width-range~?=["|'](.*?)-(.*?)["|']\]/i);
var min = minMax[1];
var max = minMax[2];
-
+
pushToCache(widthRanges, selector, min, max);
}
-
+
// Check for height-ranges.
if (heightRange != null) {
var minMax = heightRange[0].match(/\[height-range~?=["|'](.*?)-(.*?)["|']\]/i);
var min = minMax[1];
var max = minMax[2];
-
+
pushToCache(heightRanges, selector, min, max);
}
}
}
}
}
-
+
}-*/;
/**
@@ -294,15 +294,15 @@ public class ResponsiveConnector extends AbstractExtensionConnector
*/
private native void getBreakPointsFor(final String selectors)
/*-{
-
+
var selectors = selectors.split(",");
-
+
var widthBreakpoints = this.@com.vaadin.client.extensions.ResponsiveConnector::widthBreakpoints = [];
var heightBreakpoints = this.@com.vaadin.client.extensions.ResponsiveConnector::heightBreakpoints = [];
-
+
var widthRanges = @com.vaadin.client.extensions.ResponsiveConnector::widthRangeCache;
var heightRanges = @com.vaadin.client.extensions.ResponsiveConnector::heightRangeCache;
-
+
for (var i = 0, len = widthRanges.length; i < len; i++) {
var bp = widthRanges[i];
for (var j = 0, len2 = selectors.length; j < len2; j++) {
@@ -310,7 +310,7 @@ public class ResponsiveConnector extends AbstractExtensionConnector
widthBreakpoints.push(bp);
}
}
-
+
for (var i = 0, len = heightRanges.length; i < len; i++) {
var bp = heightRanges[i];
for (var j = 0, len2 = selectors.length; j < len2; j++) {
@@ -318,10 +318,10 @@ public class ResponsiveConnector extends AbstractExtensionConnector
heightBreakpoints.push(bp);
}
}
-
+
// Only for debugging
// console.log("Breakpoints for", selectors.join(","), widthBreakpoints, heightBreakpoints);
-
+
}-*/;
private String currentWidthRanges = "";
@@ -376,24 +376,24 @@ public class ResponsiveConnector extends AbstractExtensionConnector
private native String resolveBreakpoint(String which, int size)
/*-{
-
+
// Default to "width" breakpoints
var breakpoints = this.@com.vaadin.client.extensions.ResponsiveConnector::widthBreakpoints;
-
+
// Use height breakpoints if we're measuring the height
if (which == "height")
breakpoints = this.@com.vaadin.client.extensions.ResponsiveConnector::heightBreakpoints;
-
+
// Output string that goes into either the "width-range" or "height-range" attribute in the element
var ranges = "";
-
+
// Loop the breakpoints
for (var i = 0, len = breakpoints.length; i < len; i++) {
var bp = breakpoints[i];
-
+
var min = parseInt(bp[1]);
var max = parseInt(bp[2]);
-
+
if (!isNaN(min) && !isNaN(max)) {
if (min <= size && size <= max) {
ranges += " " + bp[1] + "-" + bp[2];
@@ -408,10 +408,10 @@ public class ResponsiveConnector extends AbstractExtensionConnector
}
}
}
-
+
// Trim the output and return it
return ranges.replace(/^\s+/, "");
-
+
}-*/;
}
diff --git a/client/src/main/java/com/vaadin/client/extensions/javascriptmanager/JavaScriptManagerConnector.java b/client/src/main/java/com/vaadin/client/extensions/javascriptmanager/JavaScriptManagerConnector.java
index b84169b681..1fc86201bd 100644
--- a/client/src/main/java/com/vaadin/client/extensions/javascriptmanager/JavaScriptManagerConnector.java
+++ b/client/src/main/java/com/vaadin/client/extensions/javascriptmanager/JavaScriptManagerConnector.java
@@ -71,7 +71,7 @@ public class JavaScriptManagerConnector extends AbstractExtensionConnector {
var m = this;
var target = $wnd;
var parts = name.split('.');
-
+
for (var i = 0; i < parts.length - 1; i++) {
var part = parts[i];
if (target[part] === undefined) {
@@ -79,7 +79,7 @@ public class JavaScriptManagerConnector extends AbstractExtensionConnector {
}
target = target[part];
}
-
+
target[parts[parts.length - 1]] = $entry(function() {
//Must make a copy because arguments is an array-like object (not instanceof Array), causing suboptimal JSON encoding
var args = Array.prototype.slice.call(arguments, 0);
@@ -94,7 +94,7 @@ public class JavaScriptManagerConnector extends AbstractExtensionConnector {
/*-{
var target = $wnd;
var parts = name.split('.');
-
+
for (var i = 0; i < parts.length - 1; i++) {
var part = parts[i];
if (target[part] === undefined) {
@@ -104,7 +104,7 @@ public class JavaScriptManagerConnector extends AbstractExtensionConnector {
}
target = target[part];
}
-
+
$wnd.console.log('removing',parts[parts.length - 1],'from',target);
delete target[parts[parts.length - 1]];
}-*/;
diff --git a/client/src/main/java/com/vaadin/client/ui/AbstractTextFieldWidget.java b/client/src/main/java/com/vaadin/client/ui/AbstractTextFieldWidget.java
index 49dbbdbd7e..ab4633d7c5 100644
--- a/client/src/main/java/com/vaadin/client/ui/AbstractTextFieldWidget.java
+++ b/client/src/main/java/com/vaadin/client/ui/AbstractTextFieldWidget.java
@@ -20,7 +20,7 @@ import com.vaadin.client.ui.textfield.AbstractTextFieldConnector;
/**
* Implemented by all widgets used by a connector extending
* {@link AbstractTextFieldConnector}.
- *
+ *
* @since 8.0
*/
public interface AbstractTextFieldWidget {
diff --git a/client/src/main/java/com/vaadin/client/ui/HasErrorIndicator.java b/client/src/main/java/com/vaadin/client/ui/HasErrorIndicator.java
index 146f621d48..75f8bba73d 100644
--- a/client/src/main/java/com/vaadin/client/ui/HasErrorIndicator.java
+++ b/client/src/main/java/com/vaadin/client/ui/HasErrorIndicator.java
@@ -19,7 +19,7 @@ import com.vaadin.client.ComponentConnector;
/**
* Implemented by connectors supporting an error indicator.
- *
+ *
* @since 8.0
*/
public interface HasErrorIndicator extends ComponentConnector {
diff --git a/client/src/main/java/com/vaadin/client/ui/HasRequiredIndicator.java b/client/src/main/java/com/vaadin/client/ui/HasRequiredIndicator.java
index 32b83ed28f..bee998a323 100644
--- a/client/src/main/java/com/vaadin/client/ui/HasRequiredIndicator.java
+++ b/client/src/main/java/com/vaadin/client/ui/HasRequiredIndicator.java
@@ -19,7 +19,7 @@ import com.vaadin.client.ComponentConnector;
/**
* Implemented by connectors supporting a required flag.
- *
+ *
* @since 8.0
*/
public interface HasRequiredIndicator extends ComponentConnector {
diff --git a/client/src/main/java/com/vaadin/client/ui/JavaScriptWidget.java b/client/src/main/java/com/vaadin/client/ui/JavaScriptWidget.java
index ba17911e5e..d1dd34e234 100644
--- a/client/src/main/java/com/vaadin/client/ui/JavaScriptWidget.java
+++ b/client/src/main/java/com/vaadin/client/ui/JavaScriptWidget.java
@@ -31,7 +31,7 @@ public class JavaScriptWidget extends Widget {
/**
* Creates a JavaScriptWidget based on an element with the given tag.
- *
+ *
* @param tagName
* the tag to use for the element
*/
diff --git a/client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java b/client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java
index c0f8413530..18d8dbdfee 100644
--- a/client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java
+++ b/client/src/main/java/com/vaadin/client/ui/VAbstractPopupCalendar.java
@@ -221,7 +221,7 @@ public abstract class VAbstractPopupCalendar<PANEL extends VAbstractCalendarPane
* Changes the current date, and updates the
* {@link VDateField#bufferedResolutions}, possibly
* {@link VDateField#sendBufferedValues()} to the server if needed
- *
+ *
* @param newDate
* the new {@code Date} to update
*/
diff --git a/client/src/main/java/com/vaadin/client/ui/VDateField.java b/client/src/main/java/com/vaadin/client/ui/VDateField.java
index af1b018130..0db91149ae 100644
--- a/client/src/main/java/com/vaadin/client/ui/VDateField.java
+++ b/client/src/main/java/com/vaadin/client/ui/VDateField.java
@@ -58,7 +58,7 @@ public abstract class VDateField<R extends Enum<R>> extends FlowPanel
/**
* The RPC send calls to the server.
- *
+ *
* @since
*/
public AbstractDateFieldServerRpc rpc;
@@ -66,11 +66,11 @@ public abstract class VDateField<R extends Enum<R>> extends FlowPanel
/**
* A temporary holder of the time units (resolutions), which would be sent
* to the server through {@link #sendBufferedValues()}.
- *
+ *
* The key is the resolution.
- *
+ *
* The value can be {@code null}.
- *
+ *
* @since
*/
protected Map<R, Integer> bufferedResolutions = new HashMap<>();
@@ -78,7 +78,7 @@ public abstract class VDateField<R extends Enum<R>> extends FlowPanel
/**
* A temporary holder of the date string, which would be sent to the server
* through {@link #sendBufferedValues()}.
- *
+ *
* @since
*/
protected String bufferedDateString;
@@ -264,7 +264,7 @@ public abstract class VDateField<R extends Enum<R>> extends FlowPanel
/**
* Sends the {@link #bufferedDateString} and {@link #bufferedResolutions} to
* the server, and clears their values.
- *
+ *
* @since
*/
public void sendBufferedValues() {
diff --git a/client/src/main/java/com/vaadin/client/ui/VDragAndDropWrapperIE.java b/client/src/main/java/com/vaadin/client/ui/VDragAndDropWrapperIE.java
index 13159e7aa3..a992a068cc 100644
--- a/client/src/main/java/com/vaadin/client/ui/VDragAndDropWrapperIE.java
+++ b/client/src/main/java/com/vaadin/client/ui/VDragAndDropWrapperIE.java
@@ -53,7 +53,7 @@ public class VDragAndDropWrapperIE extends VDragAndDropWrapper {
com.google.gwt.user.client.Element el)
/*-{
var me = this;
-
+
el.attachEvent("ondragstart", $entry(function(ev) {
return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragStart(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
}));
@@ -69,19 +69,19 @@ public class VDragAndDropWrapperIE extends VDragAndDropWrapper {
protected native void hookHtml5Events(com.google.gwt.user.client.Element el)
/*-{
var me = this;
-
+
el.attachEvent("ondragenter", $entry(function(ev) {
return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragEnter(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
}));
-
+
el.attachEvent("ondragleave", $entry(function(ev) {
return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragLeave(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
}));
-
+
el.attachEvent("ondragover", $entry(function(ev) {
return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragOver(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
}));
-
+
el.attachEvent("ondrop", $entry(function(ev) {
return me.@com.vaadin.client.ui.VDragAndDropWrapper::html5DragDrop(Lcom/vaadin/client/ui/dd/VHtml5DragEvent;)(ev);
}));
diff --git a/client/src/main/java/com/vaadin/client/ui/VVideo.java b/client/src/main/java/com/vaadin/client/ui/VVideo.java
index 3cca01c6e7..ae73af4f9b 100644
--- a/client/src/main/java/com/vaadin/client/ui/VVideo.java
+++ b/client/src/main/java/com/vaadin/client/ui/VVideo.java
@@ -48,7 +48,7 @@ public class VVideo extends VMediaBase {
el.addEventListener('loadedmetadata', $entry(function(e) {
self.@com.vaadin.client.ui.VVideo::updateElementDynamicSize(II)(el.videoWidth, el.videoHeight);
}), false);
-
+
}-*/;
/**
diff --git a/client/src/main/java/com/vaadin/client/ui/datefield/AbstractDateFieldConnector.java b/client/src/main/java/com/vaadin/client/ui/datefield/AbstractDateFieldConnector.java
index b7849938af..3ffd4dddf8 100644
--- a/client/src/main/java/com/vaadin/client/ui/datefield/AbstractDateFieldConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/datefield/AbstractDateFieldConnector.java
@@ -62,7 +62,7 @@ public abstract class AbstractDateFieldConnector<R extends Enum<R>>
/**
* Returns the default date (when no date is selected) components as a map
* from Resolution to the corresponding value.
- *
+ *
* @return default date component map
* @since
*/
diff --git a/client/src/main/java/com/vaadin/client/ui/datefield/DateTimeFieldConnector.java b/client/src/main/java/com/vaadin/client/ui/datefield/DateTimeFieldConnector.java
index 15afa1bbaf..5e46fe5372 100644
--- a/client/src/main/java/com/vaadin/client/ui/datefield/DateTimeFieldConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/datefield/DateTimeFieldConnector.java
@@ -28,7 +28,7 @@ import com.vaadin.ui.AbstractLocalDateTimeField;
/**
* The client-side connector for AbstractLocalDateTimeField.
- *
+ *
* @author Vaadin Ltd
* @since 8.0
*/
diff --git a/client/src/main/java/com/vaadin/client/ui/datefield/InlineDateFieldConnector.java b/client/src/main/java/com/vaadin/client/ui/datefield/InlineDateFieldConnector.java
index 4fda94b7e2..e723cd9b3b 100644
--- a/client/src/main/java/com/vaadin/client/ui/datefield/InlineDateFieldConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/datefield/InlineDateFieldConnector.java
@@ -23,7 +23,7 @@ import com.vaadin.ui.InlineDateField;
/**
* The client-side connector for InlineDateField.
- *
+ *
* @author Vaadin Ltd
* @since 8.0
*/
diff --git a/client/src/main/java/com/vaadin/client/ui/datefield/InlineDateTimeFieldConnector.java b/client/src/main/java/com/vaadin/client/ui/datefield/InlineDateTimeFieldConnector.java
index 194de64135..1d3146b652 100644
--- a/client/src/main/java/com/vaadin/client/ui/datefield/InlineDateTimeFieldConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/datefield/InlineDateTimeFieldConnector.java
@@ -27,7 +27,7 @@ import com.vaadin.ui.InlineDateTimeField;
/**
* The client-side connector for InlineDateTimeField.
- *
+ *
* @author Vaadin Ltd
* @since 8.0
*/
diff --git a/client/src/main/java/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java b/client/src/main/java/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java
index 866723544a..d9d21da413 100644
--- a/client/src/main/java/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/datefield/PopupDateFieldConnector.java
@@ -21,7 +21,7 @@ import com.vaadin.ui.DateField;
/**
* The client-side connector for DateField.
- *
+ *
* @author Vaadin Ltd
* @since 8.0
*/
diff --git a/client/src/main/java/com/vaadin/client/ui/datefield/PopupDateTimeFieldConnector.java b/client/src/main/java/com/vaadin/client/ui/datefield/PopupDateTimeFieldConnector.java
index eeda4c700e..cb1a211366 100644
--- a/client/src/main/java/com/vaadin/client/ui/datefield/PopupDateTimeFieldConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/datefield/PopupDateTimeFieldConnector.java
@@ -21,7 +21,7 @@ import com.vaadin.ui.DateTimeField;
/**
* The client-side connector for DateTimeField.
- *
+ *
* @author Vaadin Ltd
* @since 8.0
*
diff --git a/client/src/main/java/com/vaadin/client/ui/datefield/TextualDateConnector.java b/client/src/main/java/com/vaadin/client/ui/datefield/TextualDateConnector.java
index f2957efc3e..546b1220a5 100644
--- a/client/src/main/java/com/vaadin/client/ui/datefield/TextualDateConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/datefield/TextualDateConnector.java
@@ -33,9 +33,9 @@ import com.vaadin.shared.ui.datefield.TextualDateFieldState;
* Abstract date/time field connector which extend
* {@link AbstractTextualDateConnector} functionality with widget that shows
* date/time chooser as a popup panel.
- *
+ *
* @author Vaadin Ltd
- *
+ *
* @since 8.0
*
* @param <PANEL>
@@ -101,7 +101,7 @@ public abstract class TextualDateConnector<PANEL extends VAbstractCalendarPanel<
/**
* Returns {@code true} is the current resolution of the widget is month or
* less specific (e.g. month, year, quarter, etc).
- *
+ *
* @return {@code true} if the current resolution is above month
*/
protected abstract boolean isResolutionMonthOrHigher();
diff --git a/client/src/main/java/com/vaadin/client/ui/dd/VAcceptCriteria.java b/client/src/main/java/com/vaadin/client/ui/dd/VAcceptCriteria.java
index 1e8704e92b..b6bb49d063 100644
--- a/client/src/main/java/com/vaadin/client/ui/dd/VAcceptCriteria.java
+++ b/client/src/main/java/com/vaadin/client/ui/dd/VAcceptCriteria.java
@@ -20,7 +20,7 @@ import com.vaadin.ui.dnd.DropTargetExtension;
/**
* A class via all AcceptCriteria instances are fetched by an identifier.
- *
+ *
* @author Vaadin Ltd
* @deprecated Replaced in 8.1 with
* {@link DropTargetExtension#setDropCriteria(String)}
diff --git a/client/src/main/java/com/vaadin/client/ui/dd/VDragEvent.java b/client/src/main/java/com/vaadin/client/ui/dd/VDragEvent.java
index f603fbc464..6c1e2cd9f0 100644
--- a/client/src/main/java/com/vaadin/client/ui/dd/VDragEvent.java
+++ b/client/src/main/java/com/vaadin/client/ui/dd/VDragEvent.java
@@ -173,7 +173,7 @@ public class VDragEvent {
/**
* Returns the details of the drag and drop operation.
- *
+ *
* TODO consider using similar smaller (than map) API as in Transferable
*
* TODO clean up when drop handler changes
diff --git a/client/src/main/java/com/vaadin/client/ui/dd/VHtml5DragEvent.java b/client/src/main/java/com/vaadin/client/ui/dd/VHtml5DragEvent.java
index 98f95fa075..28a910dc8c 100644
--- a/client/src/main/java/com/vaadin/client/ui/dd/VHtml5DragEvent.java
+++ b/client/src/main/java/com/vaadin/client/ui/dd/VHtml5DragEvent.java
@@ -101,15 +101,15 @@ public class VHtml5DragEvent extends NativeEvent {
}
}
}
-
+
// Zero sized files without a type are also likely to be folders
var file = this.dataTransfer.files[fileIndex];
if (file.size == 0 && !file.type) {
return false;
}
-
+
// TODO Make it detect folders on all browsers
-
+
return true;
}-*/;
diff --git a/client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java b/client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java
index 4c53551409..35c52c1ee8 100644
--- a/client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java
+++ b/client/src/main/java/com/vaadin/client/ui/textfield/ValueChangeHandler.java
@@ -23,7 +23,7 @@ import com.vaadin.shared.ui.ValueChangeMode;
/**
* Helper for dealing with scheduling value change events based on a given mode
* and possibly timeout.
- *
+ *
* @since 8.0
*/
public class ValueChangeHandler {
diff --git a/client/src/main/java/com/vaadin/client/widgets/Escalator.java b/client/src/main/java/com/vaadin/client/widgets/Escalator.java
index 2899307e5b..f53ea4fdd8 100644
--- a/client/src/main/java/com/vaadin/client/widgets/Escalator.java
+++ b/client/src/main/java/com/vaadin/client/widgets/Escalator.java
@@ -729,13 +729,13 @@ public class Escalator extends Widget
/*-{
var vScroll = esc.@com.vaadin.client.widgets.Escalator::verticalScrollbar;
var vScrollElem = vScroll.@com.vaadin.client.widget.escalator.ScrollbarBundle::getElement()();
-
+
var hScroll = esc.@com.vaadin.client.widgets.Escalator::horizontalScrollbar;
var hScrollElem = hScroll.@com.vaadin.client.widget.escalator.ScrollbarBundle::getElement()();
-
+
return $entry(function(e) {
var target = e.target;
-
+
// in case the scroll event was native (i.e. scrollbars were dragged, or
// the scrollTop/Left was manually modified), the bundles have old cache
// values. We need to make sure that the caches are kept up to date.
@@ -756,29 +756,29 @@ public class Escalator extends Widget
return $entry(function(e) {
var deltaX = e.deltaX ? e.deltaX : -0.5*e.wheelDeltaX;
var deltaY = e.deltaY ? e.deltaY : -0.5*e.wheelDeltaY;
-
+
// Delta mode 0 is in pixels; we don't need to do anything...
-
+
// A delta mode of 1 means we're scrolling by lines instead of pixels
// We need to scale the number of lines by the default line height
if (e.deltaMode === 1) {
var brc = esc.@com.vaadin.client.widgets.Escalator::body;
deltaY *= brc.@com.vaadin.client.widgets.Escalator.AbstractRowContainer::getDefaultRowHeight()();
}
-
+
// Other delta modes aren't supported
if ((e.deltaMode !== undefined) && (e.deltaMode >= 2 || e.deltaMode < 0)) {
var msg = "Unsupported wheel delta mode \"" + e.deltaMode + "\"";
-
+
// Print warning message
esc.@com.vaadin.client.widgets.Escalator::logWarning(*)(msg);
}
-
+
// IE8 has only delta y
if (isNaN(deltaY)) {
deltaY = -0.5*e.wheelDelta;
}
-
+
@com.vaadin.client.widgets.Escalator.JsniUtil::moveScrollFromEvent(*)(esc, deltaX, deltaY, e);
});
}-*/;
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/JavaScriptRendererConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/JavaScriptRendererConnector.java
index d7e9c42db1..7e1b19042b 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/JavaScriptRendererConnector.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/JavaScriptRendererConnector.java
@@ -65,7 +65,7 @@ public class JavaScriptRendererConnector
private static native JavaScriptObject createCellReferenceWrapper()
/*-{
var reference = {};
-
+
var setProperty = function(name, getter, setter) {
var descriptor = {
get: getter
@@ -75,25 +75,25 @@ public class JavaScriptRendererConnector
}
Object.defineProperty(reference, name, descriptor);
};
-
+
setProperty("element", function() {
return reference.target.@CellReference::getElement()();
}, null);
-
+
setProperty("rowIndex", function() {
return reference.target.@CellReference::getRowIndex()();
}, null);
-
+
setProperty("columnIndex", function() {
return reference.target.@CellReference::getColumnIndex()();
}, null);
-
+
setProperty("colSpan", function() {
return reference.target.@RendererCellReference::getColSpan()();
}, function(colSpan) {
reference.target.@RendererCellReference::setColSpan(*)(colSpan);
});
-
+
return reference;
}-*/;
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java
index 212634e885..c3d56c9690 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java
@@ -48,7 +48,7 @@ public abstract class AbstractFieldConnector
* <p>
* NOTE: since 8.0 this only delegates to
* {@link #isRequiredIndicatorVisible()}, and is left for legacy reasons.
- *
+ *
* @deprecated Use {@link #isRequiredIndicatorVisible()} instead.
*
* @return true if required indicator should be shown
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java
index 9d6ec62d7b..7a3d560b30 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VCalendar.java
@@ -368,7 +368,7 @@ public class VCalendar extends Composite implements VHasDropHandler {
e.onselectstart = function() {
return false;
}
-
+
e.ondragstart = function() {
return false;
}
@@ -1127,7 +1127,7 @@ public class VCalendar extends Composite implements VHasDropHandler {
/**
* Get the first hour of the day.
- *
+ *
* @return The first hour of the day
*/
public int getFirstHourOfTheDay() {
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java
index 0d1830e829..064bdeb8cb 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java
@@ -257,12 +257,12 @@ public class VFilterSelect extends Composite
return $entry(function(e) {
var deltaX = e.deltaX ? e.deltaX : -0.5*e.wheelDeltaX;
var deltaY = e.deltaY ? e.deltaY : -0.5*e.wheelDeltaY;
-
+
// IE8 has only delta y
if (isNaN(deltaY)) {
deltaY = -0.5*e.wheelDelta;
}
-
+
@com.vaadin.v7.client.ui.VFilterSelect.JsniUtil::moveScrollFromEvent(*)(widget, deltaX, deltaY, e, e.deltaMode);
});
}-*/;
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VForm.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VForm.java
index b5adc5cd8f..374a41ed42 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VForm.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VForm.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2016 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java
index 7c699b58ae..04a8798e33 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java
@@ -534,7 +534,7 @@ public class VTextField extends TextBoxBase implements Field, ChangeHandler,
/**
* {@inheritDoc}
- *
+ *
* @since 7.7.5
*/
@Override
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EventCellReference.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EventCellReference.java
index c16968fe25..c8a13cdc2a 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EventCellReference.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EventCellReference.java
@@ -87,7 +87,7 @@ public class EventCellReference<T> extends CellReference<T> {
* Is the cell reference for a cell in the header of the Grid.
*
* @since 7.5
- * @return <code>true</code> if referenced cell is in the header,
+ * @return <code>true</code> if referenced cell is in the header,
* <code>false</code> if not
*/
public boolean isHeader() {
@@ -98,7 +98,7 @@ public class EventCellReference<T> extends CellReference<T> {
* Is the cell reference for a cell in the body of the Grid.
*
* @since 7.5
- * @return <code>true</code> if referenced cell is in the body,
+ * @return <code>true</code> if referenced cell is in the body,
* <code>false</code> if not
*/
public boolean isBody() {
@@ -109,7 +109,7 @@ public class EventCellReference<T> extends CellReference<T> {
* Is the cell reference for a cell in the footer of the Grid.
*
* @since 7.5
- * @return <code>true</code> if referenced cell is in the footer,
+ * @return <code>true</code> if referenced cell is in the footer,
* <code>false</code> if not
*/
public boolean isFooter() {
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java
index 3f7319d277..64e9e0656b 100644
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java
@@ -703,13 +703,13 @@ public class Escalator extends Widget
/*-{
var vScroll = esc.@com.vaadin.v7.client.widgets.Escalator::verticalScrollbar;
var vScrollElem = vScroll.@com.vaadin.v7.client.widget.escalator.ScrollbarBundle::getElement()();
-
+
var hScroll = esc.@com.vaadin.v7.client.widgets.Escalator::horizontalScrollbar;
var hScrollElem = hScroll.@com.vaadin.v7.client.widget.escalator.ScrollbarBundle::getElement()();
-
+
return $entry(function(e) {
var target = e.target;
-
+
// in case the scroll event was native (i.e. scrollbars were dragged, or
// the scrollTop/Left was manually modified), the bundles have old cache
// values. We need to make sure that the caches are kept up to date.
@@ -730,29 +730,29 @@ public class Escalator extends Widget
return $entry(function(e) {
var deltaX = e.deltaX ? e.deltaX : -0.5*e.wheelDeltaX;
var deltaY = e.deltaY ? e.deltaY : -0.5*e.wheelDeltaY;
-
+
// Delta mode 0 is in pixels; we don't need to do anything...
-
+
// A delta mode of 1 means we're scrolling by lines instead of pixels
// We need to scale the number of lines by the default line height
if (e.deltaMode === 1) {
var brc = esc.@com.vaadin.v7.client.widgets.Escalator::body;
deltaY *= brc.@com.vaadin.v7.client.widgets.Escalator.AbstractRowContainer::getDefaultRowHeight()();
}
-
+
// Other delta modes aren't supported
if ((e.deltaMode !== undefined) && (e.deltaMode >= 2 || e.deltaMode < 0)) {
var msg = "Unsupported wheel delta mode \"" + e.deltaMode + "\"";
-
+
// Print warning message
esc.@com.vaadin.v7.client.widgets.Escalator::logWarning(*)(msg);
}
-
+
// IE8 has only delta y
if (isNaN(deltaY)) {
deltaY = -0.5*e.wheelDelta;
}
-
+
@com.vaadin.v7.client.widgets.Escalator.JsniUtil::moveScrollFromEvent(*)(esc, deltaX, deltaY, e);
});
}-*/;
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java
index b6f9e37c22..7cac061f85 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java
@@ -29,7 +29,7 @@ import com.vaadin.v7.data.util.converter.Converter.ConversionException;
*
* Note that depending on the QueryDelegate in use this does not necessarily map
* into an actual column in a database table.
- *
+ *
* @deprecated As of 8.0, no replacement available.
*/
@Deprecated
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeEvent.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeEvent.java
index db8331c539..78d326eb54 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeEvent.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeEvent.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2016 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -22,7 +22,7 @@ import com.vaadin.v7.shared.ui.colorpicker.Color;
/**
* The color changed event which is passed to the listeners when a color change
* occurs.
- *
+ *
* @since 7.0.0
*/
@Deprecated
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeListener.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeListener.java
index 6a32e173e2..db82bcd92d 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeListener.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorChangeListener.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2016 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -24,9 +24,9 @@ import java.io.Serializable;
* component using the component's <code>addColorChangeListener</code> method.
* When the colorChange event occurs, that object's appropriate method is
* invoked.
- *
+ *
* @since 7.0.0
- *
+ *
* @see ColorChangeEvent
*/
@Deprecated
@@ -34,7 +34,7 @@ public interface ColorChangeListener extends Serializable {
/**
* Called when a new color has been selected.
- *
+ *
* @param event
* An event containing information about the color change.
*/
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorPickerGradient.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorPickerGradient.java
index e479fe7ac8..b465e97f9a 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorPickerGradient.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorPickerGradient.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2016 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -25,7 +25,7 @@ import com.vaadin.v7.ui.AbstractColorPicker.Coordinates2Color;
/**
* A component that represents a color gradient within a color picker.
- *
+ *
* @since 7.0.0
*/
@Deprecated
@@ -78,7 +78,7 @@ public class ColorPickerGradient extends AbstractComponent
/**
* Instantiates a new color picker gradient.
- *
+ *
* @param id
* the id
* @param converter
@@ -115,7 +115,7 @@ public class ColorPickerGradient extends AbstractComponent
/**
* Sets the background color.
- *
+ *
* @param color
* the new background color
*/
@@ -130,7 +130,7 @@ public class ColorPickerGradient extends AbstractComponent
/**
* Notifies the listeners that the color has changed.
- *
+ *
* @param color
* The color which it changed to
*/
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java
index 47e46a6496..0e643bb8a8 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/ColorSelector.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2016 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -21,7 +21,7 @@ import com.vaadin.v7.shared.ui.colorpicker.Color;
/**
* An interface for a color selector.
- *
+ *
* @since 7.0.0
*/
@Deprecated
@@ -29,7 +29,7 @@ public interface ColorSelector extends Serializable, HasColorChangeListener {
/**
* Sets the color.
- *
+ *
* @param color
* the new color
*/
@@ -37,7 +37,7 @@ public interface ColorSelector extends Serializable, HasColorChangeListener {
/**
* Gets the color.
- *
+ *
* @return the color
*/
public Color getColor();
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/HasColorChangeListener.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/HasColorChangeListener.java
index 5901443a2d..b20426a9c7 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/HasColorChangeListener.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/components/colorpicker/HasColorChangeListener.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2016 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -22,14 +22,14 @@ public interface HasColorChangeListener extends Serializable {
/**
* Adds a {@link ColorChangeListener} to the component.
- *
+ *
* @param listener
*/
void addColorChangeListener(ColorChangeListener listener);
/**
* Removes a {@link ColorChangeListener} from the component.
- *
+ *
* @param listener
*/
void removeColorChangeListener(ColorChangeListener listener);
diff --git a/compatibility-server/src/test/java/com/vaadin/tests/server/component/slider/SliderDeclarativeTest.java b/compatibility-server/src/test/java/com/vaadin/tests/server/component/slider/SliderDeclarativeTest.java
index 0f75ea8099..eb41952400 100644
--- a/compatibility-server/src/test/java/com/vaadin/tests/server/component/slider/SliderDeclarativeTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/tests/server/component/slider/SliderDeclarativeTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -23,7 +23,7 @@ import com.vaadin.ui.Slider;
/**
* Tests declarative support for implementations of {@link Slider}.
- *
+ *
* @since
* @author Vaadin Ltd
*/
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java
index c4aab7d506..455ffdd782 100644
--- a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/abstractselect/OptionGroupDeclarativeTest.java
@@ -46,7 +46,7 @@ public class OptionGroupDeclarativeTest
og.addItems("foo", "bar", "baz", "bang");
//@formatter:off
- String expected =
+ String expected =
"<vaadin7-option-group>"
+ "<option>foo</option>"
+ "<option>bar</option>"
@@ -66,7 +66,7 @@ public class OptionGroupDeclarativeTest
og.setItemEnabled("baz", false);
//@formatter:off
- String expected =
+ String expected =
"<vaadin7-option-group>"
+ "<option>foo</option>"
+ "<option>bar</option>"
@@ -86,7 +86,7 @@ public class OptionGroupDeclarativeTest
og.setItemIcon("bar", new ThemeResource("foobar.png"));
//@formatter:off
- String expected =
+ String expected =
"<vaadin7-option-group>"
+ "<option>foo</option>"
+ "<option icon='theme://foobar.png'>bar</option>"
@@ -110,7 +110,7 @@ public class OptionGroupDeclarativeTest
og.setItemCaption("bar", "<font color='red'>False</font>");
//@formatter:off
- String expected =
+ String expected =
"<vaadin7-option-group html-content-allowed>"
+ "<option item-id=\"foo\"><b>True</b></option>"
+ "<option item-id=\"bar\"><font color='red'>False</font></option>"
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/form/FormTest.java b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/form/FormTest.java
index c5372bbd75..22e78e6b63 100644
--- a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/form/FormTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/form/FormTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -25,7 +25,7 @@ import com.vaadin.v7.ui.TextField;
/**
* Test for {@link Form}.
- *
+ *
* @author Vaadin Ltd
*/
public class FormTest {
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java
index fa15e5fa55..1acb531711 100644
--- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java
+++ b/compatibility-shared/src/main/java/com/vaadin/v7/shared/AbstractFieldState.java
@@ -42,7 +42,7 @@ public class AbstractFieldState extends AbstractLegacyComponentState {
* <p>
* This is not used in all fields, but needs to be here for the time being
* (#20468).
- *
+ *
* @since 7.7.5
*/
public Connector focusDelegate;
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/form/FormState.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/form/FormState.java
index f351bbbe36..d3336962ce 100644
--- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/form/FormState.java
+++ b/compatibility-shared/src/main/java/com/vaadin/v7/shared/form/FormState.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2016 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/calendar/CalendarState.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/calendar/CalendarState.java
index 646c7eed44..8098ae3cf2 100644
--- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/calendar/CalendarState.java
+++ b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/calendar/CalendarState.java
@@ -59,7 +59,7 @@ public class CalendarState extends AbstractLegacyComponentState {
* (later event are shown first).
* <li>{@code DURATION_ASC} means ascending sort by duration (shorter event
* are shown first).
- *
+ *
* </ul>
*/
public enum EventSortOrder {
diff --git a/server/src/main/java/com/vaadin/data/Binder.java b/server/src/main/java/com/vaadin/data/Binder.java
index 3fb2d75c89..8ca90ebaf8 100644
--- a/server/src/main/java/com/vaadin/data/Binder.java
+++ b/server/src/main/java/com/vaadin/data/Binder.java
@@ -330,7 +330,7 @@ public class Binder<BEAN> implements Serializable {
* @return this binding, for chaining
* @throws IllegalStateException
* if {@code bind} has already been called
- *
+ *
* @since 8.2
*/
public default BindingBuilder<BEAN, TARGET> withValidator(
@@ -394,7 +394,7 @@ public class Binder<BEAN> implements Serializable {
* @return this binding, for chaining
* @throws IllegalStateException
* if {@code bind} has already been called
- *
+ *
* @since 8.2
*/
public default BindingBuilder<BEAN, TARGET> withValidator(
diff --git a/server/src/main/java/com/vaadin/data/BinderValidationStatus.java b/server/src/main/java/com/vaadin/data/BinderValidationStatus.java
index 2a5c7d5585..43cbf2e2f7 100644
--- a/server/src/main/java/com/vaadin/data/BinderValidationStatus.java
+++ b/server/src/main/java/com/vaadin/data/BinderValidationStatus.java
@@ -189,9 +189,9 @@ public class BinderValidationStatus<BEAN> implements Serializable {
/**
* Notifies all validation status handlers in bindings.
- *
+ *
* @see #notifyBindingValidationStatusHandlers(SerializablePredicate)
- *
+ *
* @since 8.2
*/
public void notifyBindingValidationStatusHandlers() {
@@ -203,12 +203,12 @@ public class BinderValidationStatus<BEAN> implements Serializable {
* The filter should return {@code true} for each
* {@link BindingValidationStatus} that should be delegated to the status
* handler in the binding.
- *
+ *
* @see #notifyBindingValidationStatusHandlers()
- *
+ *
* @param filter
* the filter to select bindings to run status handling for
- *
+ *
* @since 8.2
*/
public void notifyBindingValidationStatusHandlers(
diff --git a/server/src/main/java/com/vaadin/data/BindingValidationStatus.java b/server/src/main/java/com/vaadin/data/BindingValidationStatus.java
index f6a7809970..afbf2bab41 100644
--- a/server/src/main/java/com/vaadin/data/BindingValidationStatus.java
+++ b/server/src/main/java/com/vaadin/data/BindingValidationStatus.java
@@ -137,7 +137,7 @@ public class BindingValidationStatus<TARGET> implements Serializable {
* the related result object, may be {@code null}
* @param source
* field whose status has changed, not {@code null}
- *
+ *
* @since 8.2
*/
public BindingValidationStatus(Result<TARGET> result,
diff --git a/server/src/main/java/com/vaadin/data/HasDataProvider.java b/server/src/main/java/com/vaadin/data/HasDataProvider.java
index c853f5c092..3e89d405b5 100644
--- a/server/src/main/java/com/vaadin/data/HasDataProvider.java
+++ b/server/src/main/java/com/vaadin/data/HasDataProvider.java
@@ -25,7 +25,7 @@ import com.vaadin.data.provider.DataProvider;
* <p>
* A listing component should implement either this interface or
* {@link HasFilterableDataProvider}, but not both.
- *
+ *
* @author Vaadin Ltd.
*
* @param <T>
diff --git a/server/src/main/java/com/vaadin/data/RequiredFieldConfigurator.java b/server/src/main/java/com/vaadin/data/RequiredFieldConfigurator.java
index 4bc1ffdbc5..a3e72fa574 100644
--- a/server/src/main/java/com/vaadin/data/RequiredFieldConfigurator.java
+++ b/server/src/main/java/com/vaadin/data/RequiredFieldConfigurator.java
@@ -26,10 +26,10 @@ import com.vaadin.server.SerializablePredicate;
* This interface represents a predicate which returns {@code true} if bound
* field should be configured to have required indicator via
* {@link HasValue#setRequiredIndicatorVisible(boolean)}.
- *
+ *
* @see BeanValidationBinder
* @see BeanValidationBinder#setRequiredConfigurator(RequiredFieldConfigurator)
- *
+ *
* @author Vaadin Ltd
* @since 8.0
*
diff --git a/server/src/main/java/com/vaadin/data/SimpleResult.java b/server/src/main/java/com/vaadin/data/SimpleResult.java
index 85d8c8ed4e..7275ee4c57 100644
--- a/server/src/main/java/com/vaadin/data/SimpleResult.java
+++ b/server/src/main/java/com/vaadin/data/SimpleResult.java
@@ -26,7 +26,7 @@ import com.vaadin.server.SerializableFunction;
*
* @param <R>
* the result value type
- *
+ *
* @since 8.0
*/
class SimpleResult<R> implements Result<R> {
diff --git a/server/src/main/java/com/vaadin/data/ValidationResult.java b/server/src/main/java/com/vaadin/data/ValidationResult.java
index 33e10d6db2..ea266ee81b 100644
--- a/server/src/main/java/com/vaadin/data/ValidationResult.java
+++ b/server/src/main/java/com/vaadin/data/ValidationResult.java
@@ -87,7 +87,7 @@ public interface ValidationResult extends Serializable {
*
* @return optional error level; error level is present for validation
* results that have not passed validation
- *
+ *
* @since 8.2
*/
Optional<ErrorLevel> getErrorLevel();
@@ -136,7 +136,7 @@ public interface ValidationResult extends Serializable {
* Creates the validation result with the given {@code errorMessage} and
* {@code errorLevel}. Results with {@link ErrorLevel} of {@code INFO} or
* {@code WARNING} are not errors by default.
- *
+ *
* @see #ok()
* @see #error(String)
*
diff --git a/server/src/main/java/com/vaadin/data/provider/HierarchicalDataProvider.java b/server/src/main/java/com/vaadin/data/provider/HierarchicalDataProvider.java
index 8dabdce2cc..007256b109 100644
--- a/server/src/main/java/com/vaadin/data/provider/HierarchicalDataProvider.java
+++ b/server/src/main/java/com/vaadin/data/provider/HierarchicalDataProvider.java
@@ -34,12 +34,12 @@ public interface HierarchicalDataProvider<T, F> extends DataProvider<T, F> {
/**
* Get the number of immediate child data items for the parent item returned
* by a given query.
- *
+ *
* @param query
* given query to request the count for
* @return the count of child data items for the data item
* {@link HierarchicalQuery#getParent()}
- *
+ *
* @throws IllegalArgumentException
* if the query is not of type HierarchicalQuery
*/
@@ -56,11 +56,11 @@ public interface HierarchicalDataProvider<T, F> extends DataProvider<T, F> {
* Fetches data from this HierarchicalDataProvider using given
* {@code query}. Only the immediate children of
* {@link HierarchicalQuery#getParent()} will be returned.
- *
+ *
* @param query
* given query to request data with
* @return a stream of data objects resulting from the query
- *
+ *
* @throws IllegalArgumentException
* if the query is not of type HierarchicalQuery
*/
@@ -76,7 +76,7 @@ public interface HierarchicalDataProvider<T, F> extends DataProvider<T, F> {
/**
* Get the number of immediate child data items for the parent item returned
* by a given query.
- *
+ *
* @param query
* given query to request the count for
* @return the count of child data items for the data item
@@ -88,7 +88,7 @@ public interface HierarchicalDataProvider<T, F> extends DataProvider<T, F> {
* Fetches data from this HierarchicalDataProvider using given
* {@code query}. Only the immediate children of
* {@link HierarchicalQuery#getParent()} will be returned.
- *
+ *
* @param query
* given query to request data with
* @return a stream of data objects resulting from the query
@@ -97,7 +97,7 @@ public interface HierarchicalDataProvider<T, F> extends DataProvider<T, F> {
/**
* Check whether a given item has any children associated with it.
- *
+ *
* @param item
* the item to check for children
* @return whether the given item has children
diff --git a/server/src/main/java/com/vaadin/data/provider/HierarchyMapper.java b/server/src/main/java/com/vaadin/data/provider/HierarchyMapper.java
index 6b34bfa86c..a6ea2183fa 100644
--- a/server/src/main/java/com/vaadin/data/provider/HierarchyMapper.java
+++ b/server/src/main/java/com/vaadin/data/provider/HierarchyMapper.java
@@ -48,7 +48,7 @@ import elemental.json.JsonObject;
*
* @author Vaadin Ltd
* @since 8.1
- *
+ *
* @param <T>
* the data type
* @param <F>
@@ -71,7 +71,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Constructs a new HierarchyMapper.
- *
+ *
* @param provider
* the hierarchical data provider for this mapper
*/
@@ -81,7 +81,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Returns the size of the currently expanded hierarchy.
- *
+ *
* @return the amount of available data
*/
public int getTreeSize() {
@@ -90,11 +90,11 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Finds the index of the parent of the item in given target index.
- *
+ *
* @param item
* the item to get the parent of
* @return the parent index or a negative value if the parent is not found
- *
+ *
*/
public Integer getParentIndex(T item) {
// TODO: This can be optimized.
@@ -104,7 +104,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Returns whether the given item is expanded.
- *
+ *
* @param item
* the item to test
* @return {@code true} if item is expanded; {@code false} if not
@@ -119,7 +119,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Expands the given item.
- *
+ *
* @param item
* the item to expand
* @param position
@@ -141,12 +141,12 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Collapses the given item.
- *
+ *
* @param item
* the item to expand
* @param position
* the index of item
- *
+ *
* @return range of rows removed by collapsing the item
*/
public Range doCollapse(T item, Optional<Integer> position) {
@@ -196,7 +196,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Gets the current item collapse allowed provider.
- *
+ *
* @return the item collapse allowed provider
*/
public ItemCollapseAllowedProvider<T> getItemCollapseAllowedProvider() {
@@ -205,7 +205,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Sets the current item collapse allowed provider.
- *
+ *
* @param itemCollapseAllowedProvider
* the item collapse allowed provider
*/
@@ -216,7 +216,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Gets the current in-memory sorting.
- *
+ *
* @return the in-memory sorting
*/
public Comparator<T> getInMemorySorting() {
@@ -226,7 +226,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Sets the current in-memory sorting. This will cause the hierarchy to be
* constructed again.
- *
+ *
* @param inMemorySorting
* the in-memory sorting
*/
@@ -236,7 +236,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Gets the current back-end sorting.
- *
+ *
* @return the back-end sorting
*/
public List<QuerySortOrder> getBackEndSorting() {
@@ -246,7 +246,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Sets the current back-end sorting. This will cause the hierarchy to be
* constructed again.
- *
+ *
* @param backEndSorting
* the back-end sorting
*/
@@ -256,7 +256,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Gets the current filter.
- *
+ *
* @return the filter
*/
public F getFilter() {
@@ -266,7 +266,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Sets the current filter. This will cause the hierarchy to be constructed
* again.
- *
+ *
* @param filter
* the filter
*/
@@ -277,7 +277,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Gets the {@code HierarchicalDataProvider} for this
* {@code HierarchyMapper}.
- *
+ *
* @return the hierarchical data provider
*/
public HierarchicalDataProvider<T, F> getDataProvider() {
@@ -286,7 +286,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Returns whether given item has children.
- *
+ *
* @param item
* the node to test
* @return {@code true} if node has children; {@code false} if not
@@ -300,7 +300,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Gets a stream of items in the form of a flattened hierarchy from the
* back-end and filter the wanted results from the list.
- *
+ *
* @param range
* the requested item range
* @return the stream of items
@@ -312,7 +312,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Gets a stream of children for the given item in the form of a flattened
* hierarchy from the back-end and filter the wanted results from the list.
- *
+ *
* @param parent
* the parent item for the fetch
* @param range
@@ -329,7 +329,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Generic method for finding direct children of a given parent, limited by
* given range.
- *
+ *
* @param parent
* the parent
* @param range
@@ -361,7 +361,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
* Removes all children of an item identified by a given id. Items removed
* by this method as well as the original item are all marked to be
* collapsed.
- *
+ *
* @param id
* the item id
*/
@@ -387,7 +387,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Finds the current index of given object. This is based on a search in
* flattened version of the hierarchy.
- *
+ *
* @param target
* the target object to find
* @return optional index of given object
@@ -405,7 +405,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Gets the full hierarchy tree starting from given node.
- *
+ *
* @param parent
* the parent node to start from
* @return the flattened hierarchy as a stream
@@ -417,7 +417,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Getst hte full hierarchy tree starting from given node. The starting node
* can be omitted.
- *
+ *
* @param parent
* the parent node to start from
* @param includeParent
@@ -431,7 +431,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
/**
* Gets the stream of direct children for given node.
- *
+ *
* @param parent
* the parent node
* @return the stream of direct children
@@ -445,7 +445,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
* The method to recursively fetch the children of given parent. Used with
* {@link Stream#flatMap} to expand a stream of parent nodes into a
* flattened hierarchy.
- *
+ *
* @param parent
* the parent node
* @return the stream of all children under the parent, includes the parent
@@ -458,7 +458,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
* The method to recursively fetch the children of given parent. Used with
* {@link Stream#flatMap} to expand a stream of parent nodes into a
* flattened hierarchy.
- *
+ *
* @param parent
* the parent node
* @param includeParent
@@ -487,7 +487,7 @@ public class HierarchyMapper<T, F> implements DataGenerator<T> {
* Helper method for combining parent and a stream of children into one
* stream. {@code null} item is never included, and parent can be skipped by
* providing the correct value for {@code includeParent}.
- *
+ *
* @param parent
* the parent node
* @param children
diff --git a/server/src/main/java/com/vaadin/navigator/Navigator.java b/server/src/main/java/com/vaadin/navigator/Navigator.java
index 22b22678b0..91f464b118 100644
--- a/server/src/main/java/com/vaadin/navigator/Navigator.java
+++ b/server/src/main/java/com/vaadin/navigator/Navigator.java
@@ -601,11 +601,11 @@ public class Navigator implements Serializable {
/**
* Creates a navigation state manager for given UI. This method should take
* into account any navigation related annotations.
- *
+ *
* @param ui
* the ui
* @return the navigation state manager
- *
+ *
* @since 8.2
*/
protected NavigationStateManager createNavigationStateManager(UI ui) {
diff --git a/server/src/main/java/com/vaadin/navigator/PushStateNavigation.java b/server/src/main/java/com/vaadin/navigator/PushStateNavigation.java
index f1cab0391b..76a000bcce 100644
--- a/server/src/main/java/com/vaadin/navigator/PushStateNavigation.java
+++ b/server/src/main/java/com/vaadin/navigator/PushStateNavigation.java
@@ -37,7 +37,7 @@ import com.vaadin.ui.UI;
* {@link DeploymentConfiguration} parameter
* {@link DeploymentConfiguration#isSendUrlsAsParameters() SendUrlAsParameters}
* must not be set to {@code false}.
- *
+ *
* @since 8.2
*/
@Retention(RUNTIME)
diff --git a/server/src/main/java/com/vaadin/server/ErrorMessageProducer.java b/server/src/main/java/com/vaadin/server/ErrorMessageProducer.java
index b6a34ef8de..0512044868 100644
--- a/server/src/main/java/com/vaadin/server/ErrorMessageProducer.java
+++ b/server/src/main/java/com/vaadin/server/ErrorMessageProducer.java
@@ -20,7 +20,7 @@ import java.io.Serializable;
/**
* Interface implemented by old Vaadin 7 exception types to produce the error
* message to show in a component.
- *
+ *
* @since 8.0
*/
@Deprecated
diff --git a/server/src/main/java/com/vaadin/ui/AbstractDateField.java b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
index 965c2f652a..a201fcff85 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractDateField.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
@@ -150,7 +150,7 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
/**
* Default value of the field, displayed when nothing has been selected.
- *
+ *
* @since 8.1.2
*/
private T defaultValue;
@@ -234,7 +234,7 @@ public abstract class AbstractDateField<T extends Temporal & TemporalAdjuster &
* @param oldDate
* used as a fallback to get needed values if they are not
* defined in the specified {@code resolutions}
- *
+ *
* @return the date object built from the specified resolutions
* @since
*/
diff --git a/server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java b/server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java
index e5fad79825..adf6e0bc53 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractLocalDateTimeField.java
@@ -32,7 +32,7 @@ import com.vaadin.shared.ui.datefield.DateTimeResolution;
/**
* Abstract DateField class for {@link LocalDateTime} type.
- *
+ *
* @author Vaadin Ltd
*
* @since 8.0
diff --git a/server/src/main/java/com/vaadin/ui/HasValueChangeMode.java b/server/src/main/java/com/vaadin/ui/HasValueChangeMode.java
index 2bed6bc2e9..32fdf11e9d 100644
--- a/server/src/main/java/com/vaadin/ui/HasValueChangeMode.java
+++ b/server/src/main/java/com/vaadin/ui/HasValueChangeMode.java
@@ -20,7 +20,7 @@ import com.vaadin.shared.ui.ValueChangeMode;
/**
* Implemented by components which support value change modes.
- *
+ *
* @since 8.0
*/
public interface HasValueChangeMode extends Component {
diff --git a/server/src/main/java/com/vaadin/ui/Notification.java b/server/src/main/java/com/vaadin/ui/Notification.java
index 0c3158bf97..b8ee3a4caf 100644
--- a/server/src/main/java/com/vaadin/ui/Notification.java
+++ b/server/src/main/java/com/vaadin/ui/Notification.java
@@ -522,7 +522,7 @@ public class Notification extends AbstractExtension implements Serializable {
* CloseListener to a Notification and
* {@link CloseListener#notificationClose(CloseEvent)} will be called
* whenever the Notification is closed.
- *
+ *
* @since 8.2
*/
@FunctionalInterface
diff --git a/server/src/main/java/com/vaadin/ui/TextField.java b/server/src/main/java/com/vaadin/ui/TextField.java
index 8aeddad3e9..4c4d0867a3 100644
--- a/server/src/main/java/com/vaadin/ui/TextField.java
+++ b/server/src/main/java/com/vaadin/ui/TextField.java
@@ -68,7 +68,7 @@ public class TextField extends AbstractTextField {
* Constructs a new {@code TextField} with a value change listener. The
* listener is called when the value of this {@code TextField} is changed
* either by the user or programmatically.
- *
+ *
* @param valueChangeListener
* the value change listener, not {@code null}
*/
@@ -100,7 +100,7 @@ public class TextField extends AbstractTextField {
* <p>
* The listener is called when the value of this {@code TextField} is
* changed either by the user or programmatically.
- *
+ *
* @param caption
* the caption {@code String} for the editor.
* @param value
diff --git a/server/src/main/java/com/vaadin/ui/Tree.java b/server/src/main/java/com/vaadin/ui/Tree.java
index 1580dcb515..0da6cbef0f 100644
--- a/server/src/main/java/com/vaadin/ui/Tree.java
+++ b/server/src/main/java/com/vaadin/ui/Tree.java
@@ -1181,7 +1181,7 @@ public class Tree<T> extends Composite
/**
* Scrolls to the beginning of the first data row.
- *
+ *
* @since 8.2
*/
public void scrollToStart() {
@@ -1190,7 +1190,7 @@ public class Tree<T> extends Composite
/**
* Scrolls to the end of the last data row.
- *
+ *
* @since 8.2
*/
public void scrollToEnd() {
diff --git a/server/src/main/java/com/vaadin/ui/UI.java b/server/src/main/java/com/vaadin/ui/UI.java
index db659a5229..ee303327bd 100644
--- a/server/src/main/java/com/vaadin/ui/UI.java
+++ b/server/src/main/java/com/vaadin/ui/UI.java
@@ -795,7 +795,7 @@ public abstract class UI extends AbstractSingleComponentContainer
*
* @return the part of path (from browser's URL) that points to this UI,
* without possible view identifiers or path parameters
- *
+ *
* @since 8.2
*/
public String getUiRootPath() {
@@ -819,7 +819,7 @@ public abstract class UI extends AbstractSingleComponentContainer
*
* @return the path info part of the request; {@code null} if no request
* from client has been processed
- *
+ *
* @since 8.2
*/
public String getUiPathInfo() {
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/Editor.java b/server/src/main/java/com/vaadin/ui/components/grid/Editor.java
index 8c34fbdf64..33d6fc0c4f 100644
--- a/server/src/main/java/com/vaadin/ui/components/grid/Editor.java
+++ b/server/src/main/java/com/vaadin/ui/components/grid/Editor.java
@@ -170,7 +170,7 @@ public interface Editor<T> extends Serializable {
/**
* Adds an editor save {@code listener}.
- *
+ *
* @param listener
* save listener
* @return a registration object for removing the listener
@@ -179,7 +179,7 @@ public interface Editor<T> extends Serializable {
/**
* Adds an editor cancel {@code listener}.
- *
+ *
* @param listener
* cancel listener
* @return a registration object for removing the listener
@@ -188,18 +188,18 @@ public interface Editor<T> extends Serializable {
/**
* Adds an editor open {@code listener}.
- *
+ *
* @param listener
* open listener
* @return a registration object for removing the listener
- *
+ *
* @since 8.1
*/
public Registration addOpenListener(EditorOpenListener<T> listener);
/**
* Gets the Grid instance which this editor belongs to.
- *
+ *
* @return the grid which owns the editor
*/
public Grid<T> getGrid();
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/EditorCancelListener.java b/server/src/main/java/com/vaadin/ui/components/grid/EditorCancelListener.java
index 0197a59f12..99a672eb6c 100644
--- a/server/src/main/java/com/vaadin/ui/components/grid/EditorCancelListener.java
+++ b/server/src/main/java/com/vaadin/ui/components/grid/EditorCancelListener.java
@@ -21,13 +21,13 @@ import com.vaadin.ui.Grid;
/**
* An event listener for a {@link Grid} editor cancel events.
- *
+ *
* @author Vaadin Ltd
* @since 8.0
*
* @see EditorCancelEvent
* @see Editor#addCancelListener(EditorCancelListener)
- *
+ *
* @param <T>
* the bean type
*/
@@ -36,7 +36,7 @@ public interface EditorCancelListener<T> extends Serializable {
/**
* Called when the editor is cancelled.
- *
+ *
* @param event
* cancel event
*/
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/EditorOpenListener.java b/server/src/main/java/com/vaadin/ui/components/grid/EditorOpenListener.java
index 071ed0549a..ecbba58af6 100644
--- a/server/src/main/java/com/vaadin/ui/components/grid/EditorOpenListener.java
+++ b/server/src/main/java/com/vaadin/ui/components/grid/EditorOpenListener.java
@@ -21,10 +21,10 @@ import com.vaadin.ui.Grid;
/**
* An event listener for a {@link Grid} editor save events.
- *
+ *
* @author Vaadin Ltd
* @since 8.1
- *
+ *
* @param <T>
* the bean type
*
@@ -36,7 +36,7 @@ public interface EditorOpenListener<T> extends Serializable {
/**
* Called when the editor is opened.
- *
+ *
* @param event
* open event
*/
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/EditorSaveListener.java b/server/src/main/java/com/vaadin/ui/components/grid/EditorSaveListener.java
index 329fde521b..68ec8e05cd 100644
--- a/server/src/main/java/com/vaadin/ui/components/grid/EditorSaveListener.java
+++ b/server/src/main/java/com/vaadin/ui/components/grid/EditorSaveListener.java
@@ -21,7 +21,7 @@ import com.vaadin.ui.Grid;
/**
* An event listener for a {@link Grid} editor save events.
- *
+ *
* @author Vaadin Ltd
* @since 8.0
*
@@ -33,7 +33,7 @@ public interface EditorSaveListener<T> extends Serializable {
/**
* Called when the editor is saved.
- *
+ *
* @param event
* save event
*/
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/GridDragSource.java b/server/src/main/java/com/vaadin/ui/components/grid/GridDragSource.java
index c84cc9534d..80b8daf898 100644
--- a/server/src/main/java/com/vaadin/ui/components/grid/GridDragSource.java
+++ b/server/src/main/java/com/vaadin/ui/components/grid/GridDragSource.java
@@ -61,7 +61,7 @@ public class GridDragSource<T> extends DragSourceExtension<Grid<T>> {
/**
* Default drag data generator for Grid. It creates a list of row values
* separated by a tabulator character ({@code \t}).
- *
+ *
* <pre>
* "column1_value\tcolumn2_value\t ... columnN_value"
* </pre>
@@ -163,7 +163,7 @@ public class GridDragSource<T> extends DragSourceExtension<Grid<T>> {
* type} data.
* <p>
* Example, building a JSON object that contains the item's values:
- *
+ *
* <pre>
* dragSourceExtension.setDragDataGenerator("application/json", item ->
* {
diff --git a/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java b/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java
index 4b82f0bdbe..ec25339931 100644
--- a/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java
+++ b/server/src/main/java/com/vaadin/ui/components/grid/StaticSection.java
@@ -800,10 +800,10 @@ public abstract class StaticSection<ROW extends StaticSection.StaticRow<?>>
/**
* Sets the visibility of this section.
- *
+ *
* @param visible
* {@code true} if visible; {@code false} if not
- *
+ *
* @since 8.1.1
*/
public void setVisible(boolean visible) {
@@ -814,9 +814,9 @@ public abstract class StaticSection<ROW extends StaticSection.StaticRow<?>>
/**
* Gets the visibility of this section.
- *
+ *
* @return {@code true} if visible; {@code false} if not
- *
+ *
* @since 8.1.1
*/
public boolean isVisible() {
diff --git a/server/src/main/java/com/vaadin/ui/renderers/ComponentRenderer.java b/server/src/main/java/com/vaadin/ui/renderers/ComponentRenderer.java
index 0f8ca4401d..98a2002531 100644
--- a/server/src/main/java/com/vaadin/ui/renderers/ComponentRenderer.java
+++ b/server/src/main/java/com/vaadin/ui/renderers/ComponentRenderer.java
@@ -38,7 +38,7 @@ import elemental.json.JsonValue;
* instances.
* <p>
* Example of how to add a {@link Label} component to {@link Grid}:
- *
+ *
* <pre>
* Grid<Person> grid;
* grid.addColumn(person -> new Label(person.getFullName()),
diff --git a/server/src/main/java/com/vaadin/util/ReflectTools.java b/server/src/main/java/com/vaadin/util/ReflectTools.java
index b38a23b46e..561281b5b7 100644
--- a/server/src/main/java/com/vaadin/util/ReflectTools.java
+++ b/server/src/main/java/com/vaadin/util/ReflectTools.java
@@ -323,10 +323,10 @@ public class ReflectTools implements Serializable {
/**
* Returns the first non-synthetic method of the specified
* {@code listenerClass}, which must have single method in the source-code.
- *
+ *
* This is needed, to remove the synthetic methods added if the class is
* instrumented.
- *
+ *
* @param listenerClass
* The {@link Class} of the listener, which has a single method
* in the source code
diff --git a/server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootForVerticalLayout.java b/server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootForVerticalLayout.java
index e1d4561a25..4516ff78e6 100644
--- a/server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootForVerticalLayout.java
+++ b/server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootForVerticalLayout.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootTest.java b/server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootTest.java
index bab95d9e19..d544d1352a 100644
--- a/server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootTest.java
+++ b/server/src/test/java/com/vaadin/tests/design/designroot/CustomComponentDesignRootTest.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/server/src/test/java/com/vaadin/tests/server/component/treegrid/TreeGridDeclarativeTest.java b/server/src/test/java/com/vaadin/tests/server/component/treegrid/TreeGridDeclarativeTest.java
index 5905d8d767..fc4c2ec0ea 100644
--- a/server/src/test/java/com/vaadin/tests/server/component/treegrid/TreeGridDeclarativeTest.java
+++ b/server/src/test/java/com/vaadin/tests/server/component/treegrid/TreeGridDeclarativeTest.java
@@ -78,7 +78,7 @@ public class TreeGridDeclarativeTest
.size(new HierarchicalQuery<>(null, person6.toString())));
testWrite(design, grid, true);
}
-
+
@Override
public void valueSerialization() throws InstantiationException,
diff --git a/shared/src/main/java/com/vaadin/osgi/resources/OsgiVaadinResources.java b/shared/src/main/java/com/vaadin/osgi/resources/OsgiVaadinResources.java
index a423791193..7f0153611f 100644
--- a/shared/src/main/java/com/vaadin/osgi/resources/OsgiVaadinResources.java
+++ b/shared/src/main/java/com/vaadin/osgi/resources/OsgiVaadinResources.java
@@ -25,16 +25,16 @@ import com.vaadin.osgi.resources.impl.VaadinResourceServiceImpl;
* {@link BundleActivator} used to provide access to the
* {@link VaadinResourceService} singleton for publishing themes, widgetsets and
* other necessary resources.
- *
+ *
* @author Vaadin Ltd.
- *
+ *
* @since 8.1
*/
public class OsgiVaadinResources implements BundleActivator {
/**
* Thrown if a method is called when the Resource bundle is not active.
- *
+ *
* @author Vaadin Ltd.
*
* @since 8.1
@@ -54,7 +54,7 @@ public class OsgiVaadinResources implements BundleActivator {
/**
* Returns the {@link VaadinResourceService} instance. Always returns
* non-null.
- *
+ *
* @return the {@link VaadinResourceService resource service} to use for
* publishing themes, widgetsets and other necessary resources
* @throws ResourceBundleInactiveException
diff --git a/shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java b/shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java
index 6f57c395d4..d25408e654 100644
--- a/shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java
+++ b/shared/src/main/java/com/vaadin/osgi/resources/impl/VaadinResourceTrackerComponent.java
@@ -45,9 +45,9 @@ import com.vaadin.osgi.resources.VaadinResourceService;
/**
* Tracks {@link OsgiVaadinWidgetset} and {@link OsgiVaadinTheme} registration
* and uses {@link HttpService} to register them.
- *
+ *
* @author Vaadin Ltd.
- *
+ *
* @since 8.1
*/
@Component(immediate = true)
diff --git a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java
index 6a16508afa..8fd8b6fb50 100644
--- a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java
+++ b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java
@@ -209,7 +209,7 @@ public class ApplicationConstants implements Serializable {
* A request attribute name to store the part of pathInfo that was used to
* select the UI. Will be used by default Navigator to separate view
* identifiers from UI. This can be set by custom UI providers.
- *
+ *
* @since 8.2
**/
public static final String UI_ROOT_PATH = "com.vaadin.server.UI_ROOT_PATH";
diff --git a/shared/src/main/java/com/vaadin/shared/communication/SharedState.java b/shared/src/main/java/com/vaadin/shared/communication/SharedState.java
index 57ad67a0d7..a17ddf5914 100644
--- a/shared/src/main/java/com/vaadin/shared/communication/SharedState.java
+++ b/shared/src/main/java/com/vaadin/shared/communication/SharedState.java
@@ -65,7 +65,7 @@ public class SharedState implements Serializable {
/**
* A Map of event identifiers with registered listeners, {@code key} is
* event identifier, {@code value} is the listeners count.
- *
+ *
* @since
*/
@NoLayout
diff --git a/shared/src/main/java/com/vaadin/shared/data/selection/SelectionServerRpc.java b/shared/src/main/java/com/vaadin/shared/data/selection/SelectionServerRpc.java
index 19930c7e04..97f34347c4 100644
--- a/shared/src/main/java/com/vaadin/shared/data/selection/SelectionServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/data/selection/SelectionServerRpc.java
@@ -19,7 +19,7 @@ import com.vaadin.shared.communication.ServerRpc;
/**
* Transmits SelectionModel selection events from the client to the server.
- *
+ *
* @since 8.0
*/
public interface SelectionServerRpc extends ServerRpc {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/ErrorLevel.java b/shared/src/main/java/com/vaadin/shared/ui/ErrorLevel.java
index e3196e91ad..a3871ce674 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/ErrorLevel.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/ErrorLevel.java
@@ -17,7 +17,7 @@ package com.vaadin.shared.ui;
/**
* Represents the error levels displayed on components.
- *
+ *
* @author Vaadin Ltd
* @since 8.2
*/
diff --git a/shared/src/main/java/com/vaadin/shared/ui/ValueChangeMode.java b/shared/src/main/java/com/vaadin/shared/ui/ValueChangeMode.java
index 52f54aa27b..2820129a35 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/ValueChangeMode.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/ValueChangeMode.java
@@ -19,7 +19,7 @@ package com.vaadin.shared.ui;
/**
* Different modes for when and how often field value changes are transmitted
* from the client to the server.
- *
+ *
* @since 8.0
*/
public enum ValueChangeMode {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldServerRpc.java
index cdd8e30815..3e6edd7df3 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldServerRpc.java
@@ -28,7 +28,7 @@ public interface AbstractDateFieldServerRpc extends ServerRpc {
/**
* Updates the typed data string and resolution names and values.
- *
+ *
* @param newDateString
* the value of the text field part. It enables analyzing invalid
* input on the server. {@code null} if the date was chosen with
diff --git a/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java
index cd1791464c..11f0c13fd1 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/datefield/AbstractDateFieldState.java
@@ -52,14 +52,14 @@ public class AbstractDateFieldState extends AbstractFieldState {
/**
* The JSON used to construct a TimeZone on the client side, can be
* {@code null}.
- *
+ *
* @since 8.2
*/
public String timeZoneJSON;
/**
* The used Locale, can be {@code null}.
- *
+ *
* @since
*/
public String locale;
@@ -67,14 +67,14 @@ public class AbstractDateFieldState extends AbstractFieldState {
/**
* Overridden date format string, can be {@code null} if default formatting
* of the components locale is used.
- *
+ *
* @since
*/
public String format;
/**
* Whether the date/time interpretation is lenient.
- *
+ *
* @since
*/
public boolean lenient;
@@ -84,16 +84,16 @@ public class AbstractDateFieldState extends AbstractFieldState {
*
* The key is the resolution name e.g. "HOUR", "MINUTE", with possibly
* prefixed by "default-".
- *
+ *
* The value can be {@code null}
- *
+ *
* @since
*/
public Map<String, Integer> resolutions = new HashMap<>();
/**
* Determines if week numbers are shown in the date selector.
- *
+ *
* @since
*/
public boolean showISOWeekNumbers;
@@ -101,7 +101,7 @@ public class AbstractDateFieldState extends AbstractFieldState {
/**
* Was the last entered string parsable? If this flag is false, datefields
* internal validator does not pass.
- *
+ *
* @since
*/
public boolean parsable = true;
diff --git a/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedState.java b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedState.java
index 55e6b916fd..ea899b2984 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/embedded/EmbeddedState.java
@@ -49,7 +49,7 @@ public class EmbeddedState extends AbstractEmbeddedState {
/**
* The MIME-Type of the code.
- *
+ *
* @since 8.2
*/
public String codetype;
@@ -57,7 +57,7 @@ public class EmbeddedState extends AbstractEmbeddedState {
/**
* May be used to specify the location of an object's implementation via a
* URI.
- *
+ *
* @since 8.2
*/
public String classId;
@@ -65,14 +65,14 @@ public class EmbeddedState extends AbstractEmbeddedState {
/**
* May be used to specify a space-separated list of URIs for archives
* containing resources relevant to the object.
- *
+ *
* @since 8.2
*/
public String archive;
/**
* The component's "alt-text".
- *
+ *
* @since 8.2
*/
public String altText;
@@ -80,7 +80,7 @@ public class EmbeddedState extends AbstractEmbeddedState {
/**
* Specifies a message that a user agent may render while loading the
* object's implementation and data.
- *
+ *
* @since 8.2
*/
public String standby;
@@ -88,7 +88,7 @@ public class EmbeddedState extends AbstractEmbeddedState {
/**
* Object parameters. Parameters are optional information, and they are
* passed to the instantiated object.
- *
+ *
* @since 8.2
*/
public final Map<String, String> parameters = new HashMap<>();
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java
index c8a75d56e2..910ed63610 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/ColumnResizeMode.java
@@ -17,7 +17,7 @@ package com.vaadin.shared.ui.grid;
/**
* Collection of modes used for resizing columns in the Grid.
- *
+ *
* @since 7.7.5
*/
public enum ColumnResizeMode {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridClientRpc.java
index 4fbc494bc1..356707a7e1 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridClientRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridClientRpc.java
@@ -53,7 +53,7 @@ public interface GridClientRpc extends ClientRpc {
/**
* Command client Grid to recalculate column widths.
- *
+ *
* @since 8.1.1
*/
public void recalculateColumnWidths();
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java
index a19d94d9d6..9ae7a5d668 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java
@@ -47,7 +47,7 @@ public interface EditorServerRpc extends ServerRpc {
* Tells the server to cancel editing. When sending a cancel request, the
* client does not need to wait for confirmation by the server before hiding
* the editor.
- *
+ *
* @param afterBeingSaved
* if {@code true} then this method is called to close editor
* after save action, otherwise it represents a cancel action
diff --git a/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaClientRpc.java
index 8a21fee9c9..139d336b65 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaClientRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaClientRpc.java
@@ -19,7 +19,7 @@ import com.vaadin.shared.communication.ClientRpc;
/**
* Server to client RPC interface for RichTextArea.
- *
+ *
* @since 8.0
*/
public interface RichTextAreaClientRpc extends ClientRpc {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaServerRpc.java
index 1e3a3f0a2d..12c97ca4e9 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaServerRpc.java
@@ -19,7 +19,7 @@ import com.vaadin.shared.communication.ServerRpc;
/**
* Client to server RPC interface for RichTextArea.
- *
+ *
* @since 8.0
*/
public interface RichTextAreaServerRpc extends ServerRpc {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaState.java b/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaState.java
index d1459d42ce..28fdede11d 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/richtextarea/RichTextAreaState.java
@@ -22,7 +22,7 @@ import com.vaadin.shared.ui.ValueChangeMode;
/**
* State for RichTextArea.
- *
+ *
* @since 8.0
*/
public class RichTextAreaState extends AbstractFieldState {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/textfield/AbstractTextFieldClientRpc.java b/shared/src/main/java/com/vaadin/shared/ui/textfield/AbstractTextFieldClientRpc.java
index 09d19831aa..3b960926d7 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/textfield/AbstractTextFieldClientRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/textfield/AbstractTextFieldClientRpc.java
@@ -19,7 +19,7 @@ import com.vaadin.shared.communication.ClientRpc;
/**
* Server to client RPC interface for AbstractTextField.
- *
+ *
* @since 8.0
*/
public interface AbstractTextFieldClientRpc extends ClientRpc {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/textfield/TextFieldState.java b/shared/src/main/java/com/vaadin/shared/ui/textfield/TextFieldState.java
index 8e8b05edce..d73c8286c3 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/textfield/TextFieldState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/textfield/TextFieldState.java
@@ -17,7 +17,7 @@ package com.vaadin.shared.ui.textfield;
/**
* State class for TextField.
- *
+ *
* @since 8.0
*/
public class TextFieldState extends AbstractTextFieldState {
diff --git a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeMultiSelectionModelState.java b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeMultiSelectionModelState.java
index dca676b5b2..5b17f5e0bf 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeMultiSelectionModelState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeMultiSelectionModelState.java
@@ -19,7 +19,7 @@ import com.vaadin.shared.ui.grid.MultiSelectionModelState;
/**
* State for TreeMultiSelectionModel.
- *
+ *
* @author Vaadin Ltd
* @since 8.1
*/
diff --git a/test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java b/test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java
index 68a030ec85..89ca8f382d 100644
--- a/test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java
+++ b/test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java
@@ -126,7 +126,7 @@ public abstract class AbstractIntegrationTest extends ParallelTest {
* Returns the deployment context path with a leading slash. If not provided
* through {@code deployment.context.path} system property, will default to
* {@code /demo}.
- *
+ *
* @return deployment context path
*/
protected String getContextPath() {
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSingleSelectElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSingleSelectElement.java
index c66e736a1d..f4622a98ec 100644
--- a/testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSingleSelectElement.java
+++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSingleSelectElement.java
@@ -19,7 +19,7 @@ import com.vaadin.testbench.elementsbase.ServerClass;
/**
* A common base element class for all single select components.
- *
+ *
* @since 8.1.1
*/
@ServerClass("com.vaadin.ui.AbstractSingleSelect")
@@ -29,7 +29,7 @@ public abstract class AbstractSingleSelectElement
/**
* Selects the first option in this single select component that matches the
* given text.
- *
+ *
* @param text
* the text to select by
*/
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSplitPanelElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSplitPanelElement.java
index 7e5ed87c5e..d202c25f9a 100644
--- a/testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSplitPanelElement.java
+++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/AbstractSplitPanelElement.java
@@ -37,7 +37,7 @@ public class AbstractSplitPanelElement
/**
* Gets the first component of a split panel and wraps it in given class.
- *
+ *
* @param clazz
* Components element class
* @return First component wrapped in given class
@@ -48,7 +48,7 @@ public class AbstractSplitPanelElement
/**
* Gets the second component of a split panel and wraps it in given class.
- *
+ *
* @param clazz
* Components element class
* @return Second component wrapped in given class
@@ -59,7 +59,7 @@ public class AbstractSplitPanelElement
/**
* Gets a component of a split panel and wraps it in the given class.
- *
+ *
* @param clazz
* Components element class
* @param byContainer
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/NativeSelectElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/NativeSelectElement.java
index f6b0426c3e..c90c35eeae 100644
--- a/testbench-api/src/main/java/com/vaadin/testbench/elements/NativeSelectElement.java
+++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/NativeSelectElement.java
@@ -72,7 +72,7 @@ public class NativeSelectElement extends AbstractSingleSelectElement {
* Return value of the selected item in the native select element.
*
* @return value of the selected item
- *
+ *
* @throws NoSuchElementException
* if no value is selected
*/
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/ProgressBarElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/ProgressBarElement.java
index 271983a8dd..1c332ae063 100644
--- a/testbench-api/src/main/java/com/vaadin/testbench/elements/ProgressBarElement.java
+++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/ProgressBarElement.java
@@ -25,7 +25,7 @@ public class ProgressBarElement extends AbstractFieldElement {
/**
* Returns the value of the progress bar.
- *
+ *
* @return
*/
public double getValue() {
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java
index 7f6004a5af..b0b8f2eeab 100644
--- a/testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java
+++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/TabSheetElement.java
@@ -42,7 +42,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* Gets a list of Tabs inside the Tab container.
- *
+ *
* @return List of tabs
*/
public List<String> getTabCaptions() {
@@ -55,7 +55,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* Gets the number of tabs contained in this tab sheet.
- *
+ *
* @return Number of tabs.
*/
public int getTabCount() {
@@ -64,7 +64,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* Opens the tab with the given index.
- *
+ *
* @param index
* The zero-based index of the tab to be opened.
*/
@@ -80,7 +80,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* Opens a Tab that has caption equal to given tabCaption.
- *
+ *
* @param tabCaption
* Caption of the tab to be opened
*/
@@ -102,7 +102,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* Opens the given tab by clicking its caption text or icon. If the tab has
* neither text caption nor icon, clicks at a fixed position.
- *
+ *
* @param tabCell
* The tab to be opened.
*/
@@ -127,7 +127,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* If the tab with given index is closable, closes it.
- *
+ *
* @param index
* The index of the tab to be closed
*/
@@ -144,7 +144,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* If tab with given caption is closable, closes it.
- *
+ *
* @param tabCaption
* Caption of the tab to be closed
*/
@@ -163,7 +163,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* Closes the given tab if it is closable.
- *
+ *
* @param tabCell
* The tab to be closed
*/
@@ -179,7 +179,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* Gets TabSheet content and wraps it in given class.
- *
+ *
* @param clazz
* Components element class
* @return TabSheet content wrapped in given class
@@ -193,7 +193,7 @@ public class TabSheetElement extends AbstractComponentContainerElement {
/**
* Returns the caption text of the given tab. If the tab has no caption,
* returns null.
- *
+ *
* @param tabCell
* A web element representing a tab, as given by
* findElements(byTabCell).get(index).
diff --git a/uitest/src/main/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptSpan.java b/uitest/src/main/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptSpan.java
index 7c1a79471b..19eef5a9a4 100644
--- a/uitest/src/main/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptSpan.java
+++ b/uitest/src/main/java/com/vaadin/tests/components/javascriptcomponent/JavaScriptSpan.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/uitest/src/main/java/com/vaadin/tests/elements/splitpanel/SplitPanelComponents.java b/uitest/src/main/java/com/vaadin/tests/elements/splitpanel/SplitPanelComponents.java
index 9d9f8213bd..13b7dd1750 100644
--- a/uitest/src/main/java/com/vaadin/tests/elements/splitpanel/SplitPanelComponents.java
+++ b/uitest/src/main/java/com/vaadin/tests/elements/splitpanel/SplitPanelComponents.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/NestedTabSheet.java b/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/NestedTabSheet.java
index e45773f1b0..6ee08a1af7 100644
--- a/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/NestedTabSheet.java
+++ b/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/NestedTabSheet.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementException.java b/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementException.java
index 60966378a8..2660ab0c9a 100644
--- a/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementException.java
+++ b/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementException.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementTabWithoutCaption.java b/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementTabWithoutCaption.java
index 4079c79ce5..28275d061f 100644
--- a/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementTabWithoutCaption.java
+++ b/uitest/src/main/java/com/vaadin/tests/elements/tabsheet/TabSheetElementTabWithoutCaption.java
@@ -1,12 +1,12 @@
/*
* Copyright 2000-2014 Vaadin Ltd.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
diff --git a/uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridDetailsLocation.java b/uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridDetailsLocation.java
index bd451e978b..a0fd8a3fac 100644
--- a/uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridDetailsLocation.java
+++ b/uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridDetailsLocation.java
@@ -35,7 +35,7 @@ import com.vaadin.v7.ui.Grid.SelectionMode;
/**
* This test cannot be migrated to V8 since there is no Grid::scrollTo method.
* Will it be there in the future ? (may be this test should be just removed).
- *
+ *
* @author Vaadin Ltd
*
*/
diff --git a/uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridFastAsyncUpdate.java b/uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridFastAsyncUpdate.java
index d41bfc0272..8e3ffb2cab 100644
--- a/uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridFastAsyncUpdate.java
+++ b/uitest/src/main/java/com/vaadin/v7/tests/components/grid/GridFastAsyncUpdate.java
@@ -23,7 +23,7 @@ import com.vaadin.v7.ui.Grid.SelectionMode;
@Push
@SuppressWarnings("serial")
/**
- *
+ *
* Uses scrollToEnd() method in Grid. Should be migrated once it's available.
*
*/
diff --git a/uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateFieldTestTest.java b/uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateFieldTestTest.java
index c9cc04e715..865161afa5 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateFieldTestTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateFieldTestTest.java
@@ -21,7 +21,7 @@ import com.google.gwt.editor.client.Editor.Ignore;
/**
* Reuse tests from super DateFieldTestTest class.
- *
+ *
* @author Vaadin Ltd
*
*/
diff --git a/uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateTimeFieldTestTest.java b/uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateTimeFieldTestTest.java
index 1ddd9ca6b0..464f66b0fd 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateTimeFieldTestTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/datefield/InlineDateTimeFieldTestTest.java
@@ -21,7 +21,7 @@ import com.google.gwt.editor.client.Editor.Ignore;
/**
* Reuse tests from super DateTimeFieldTestTest class.
- *
+ *
* @author Vaadin Ltd
*
*/