From e941e191a521747adb682c361074a723301e2b4f Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Sun, 4 Oct 2015 11:12:12 +0300 Subject: [PATCH] Add @since for 7.5.7 changes Change-Id: I661918af08299953e3caf5e51def0afbad809dd4 --- server/src/com/vaadin/server/Constants.java | 9 +++++++++ server/src/com/vaadin/ui/GridLayout.java | 1 - server/src/com/vaadin/ui/declarative/DesignContext.java | 2 +- .../src/com/vaadin/ui/declarative/DesignFormatter.java | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/server/src/com/vaadin/server/Constants.java b/server/src/com/vaadin/server/Constants.java index 379bfa4f2a..6cdb26ac7c 100644 --- a/server/src/com/vaadin/server/Constants.java +++ b/server/src/com/vaadin/server/Constants.java @@ -16,6 +16,7 @@ package com.vaadin.server; import com.vaadin.shared.communication.PushMode; +import com.vaadin.ui.declarative.DesignContext; /** * TODO Document me! @@ -137,6 +138,14 @@ public interface Constants { static final String SERVLET_PARAMETER_LEGACY_PROPERTY_TOSTRING = "legacyPropertyToString"; static final String SERVLET_PARAMETER_SYNC_ID_CHECK = "syncIdCheck"; static final String SERVLET_PARAMETER_SENDURLSASPARAMETERS = "sendUrlsAsParameters"; + /** + * Name of system or context property to write declarative syntax with the + * old "v-" prefix or with the new "vaadin-" prefix. The default value + * depends on the Vaadin branch used. + * + * @see DesignContext + * @since 7.5.7 + */ static final String SERVLET_PARAMETER_LEGACY_DESIGN_PREFIX = "legacyDesignPrefix"; // Configurable parameter names diff --git a/server/src/com/vaadin/ui/GridLayout.java b/server/src/com/vaadin/ui/GridLayout.java index 8837ad71d1..7eb870d1f8 100644 --- a/server/src/com/vaadin/ui/GridLayout.java +++ b/server/src/com/vaadin/ui/GridLayout.java @@ -1603,7 +1603,6 @@ public class GridLayout extends AbstractLayout implements * info about number of columns and rows if there are absolutely no * components in the {@link GridLayout} * - * @since * @param design * @param designContext */ diff --git a/server/src/com/vaadin/ui/declarative/DesignContext.java b/server/src/com/vaadin/ui/declarative/DesignContext.java index d660011a58..6e1d306080 100644 --- a/server/src/com/vaadin/ui/declarative/DesignContext.java +++ b/server/src/com/vaadin/ui/declarative/DesignContext.java @@ -436,7 +436,7 @@ public class DesignContext implements Serializable { * {@link Constants#SERVLET_PARAMETER_LEGACY_DESIGN_PREFIX} can be used to * switch to the legacy prefix. * - * @since + * @since 7.5.7 * @return true to use the legacy prefix, false by default */ protected boolean isLegacyPrefixEnabled() { diff --git a/server/src/com/vaadin/ui/declarative/DesignFormatter.java b/server/src/com/vaadin/ui/declarative/DesignFormatter.java index 3f21db8288..8c30bdef1e 100644 --- a/server/src/com/vaadin/ui/declarative/DesignFormatter.java +++ b/server/src/com/vaadin/ui/declarative/DesignFormatter.java @@ -374,7 +374,7 @@ public class DesignFormatter implements Serializable { * option items in {@link AbstractSelect}) when dumping to HTML format *

* - * @since + * @since 7.5.7 * @param input * String to be encoded * @return String with &,< and > replaced with their HTML entities @@ -399,7 +399,7 @@ public class DesignFormatter implements Serializable { * unencodes more characters than {@link #encodeForTextNode(String)} encodes *

* - * @since + * @since 7.5.7 * @param input * @return */ -- 2.39.5