From 97741f4545e5f246e7b1af01270abc832b9cf3ab Mon Sep 17 00:00:00 2001 From: elmot Date: Fri, 15 Apr 2016 11:25:33 +0300 Subject: [PATCH] Add javadoc and @since for new API Change-Id: I5c6be2ae0fdaff8b6b6169d6a1110ae824472532 --- .../server/widgetsetutils/ClassPathExplorer.java | 2 ++ shared/src/com/vaadin/shared/ui/MarginInfo.java | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/server/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java b/server/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java index 255f34d936..45bd3751d3 100644 --- a/server/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java +++ b/server/src/com/vaadin/server/widgetsetutils/ClassPathExplorer.java @@ -506,6 +506,8 @@ public class ClassPathExplorer { * directory (not a JAR file etc.) on the classpath. * * TODO this could be done better... + * + * @since 7.6.5 * * @param widgetsetFileName * relative path for the widgetset diff --git a/shared/src/com/vaadin/shared/ui/MarginInfo.java b/shared/src/com/vaadin/shared/ui/MarginInfo.java index 92f7956015..c66d1f0a11 100644 --- a/shared/src/com/vaadin/shared/ui/MarginInfo.java +++ b/shared/src/com/vaadin/shared/ui/MarginInfo.java @@ -71,6 +71,16 @@ public class MarginInfo implements Serializable { doSetMargins(top, right, bottom, left); } + /** + * Creates a MarginInfo object by having horizontal and vertical margins specified (analogous to CSS). + * + * @since 7.6.5 + * + * @param vertical + * enable or disable top and bottom margins + * @param horizontal + * enable or disable left and right margins + */ public MarginInfo(boolean vertical, boolean horizontal) { this(vertical, horizontal, vertical, horizontal); } -- 2.39.5