From 77a08ca0f910fb00f97015a751d5f8414c2985eb Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Mon, 12 May 2014 14:55:59 +0300 Subject: [PATCH] Add missing @sinces to JavaDoc Change-Id: Ib36d9c591c5089eeacacc94f68e4fbb064e5418d --- .../src/com/vaadin/client/ui/AbstractComponentConnector.java | 1 + client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java | 2 +- client/src/com/vaadin/client/ui/dd/VDragEvent.java | 4 ++-- .../tests/components/popupview/PopupViewResizeWhileOpen.java | 2 +- .../components/popupview/PopupViewResizeWhileOpenTest.java | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java index 78c6b3146b..ccf070698b 100644 --- a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java +++ b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java @@ -277,6 +277,7 @@ public abstract class AbstractComponentConnector extends AbstractConnector /** * Updates the DOM size of this connector's {@link #getWidget() widget}. * + * @since 7.1.15 * @param newWidth * The new width as a CSS string. Cannot be null. * @param newHeight diff --git a/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java b/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java index 6449c19251..4ee19328d6 100644 --- a/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java +++ b/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java @@ -733,7 +733,7 @@ public class VDragAndDropManager { return dragElement; } - public void attachDragElement() { + private void attachDragElement() { if (dragElement != null && dragElement.getParentElement() == null) { ApplicationConnection connection = getCurrentDragApplicationConnection(); Element dragImageParent; diff --git a/client/src/com/vaadin/client/ui/dd/VDragEvent.java b/client/src/com/vaadin/client/ui/dd/VDragEvent.java index d4b6c6da69..6291a38e42 100644 --- a/client/src/com/vaadin/client/ui/dd/VDragEvent.java +++ b/client/src/com/vaadin/client/ui/dd/VDragEvent.java @@ -285,13 +285,13 @@ public class VDragEvent { * Do additional content sync between original element and its * copy if needed. * - * @since 7.3 + * @since 7.2 * @param original * original element * @param copy * copy of original element */ - protected void syncContent(Element original, Element copy) { + private void syncContent(Element original, Element copy) { for (int i = 0; i < original.getChildCount(); i++) { Node child = original.getChild(i); if (child instanceof Element) { diff --git a/uitest/src/com/vaadin/tests/components/popupview/PopupViewResizeWhileOpen.java b/uitest/src/com/vaadin/tests/components/popupview/PopupViewResizeWhileOpen.java index 379f03ee55..cf3854ee69 100644 --- a/uitest/src/com/vaadin/tests/components/popupview/PopupViewResizeWhileOpen.java +++ b/uitest/src/com/vaadin/tests/components/popupview/PopupViewResizeWhileOpen.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 Vaadin Ltd. + * 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 diff --git a/uitest/src/com/vaadin/tests/components/popupview/PopupViewResizeWhileOpenTest.java b/uitest/src/com/vaadin/tests/components/popupview/PopupViewResizeWhileOpenTest.java index 9c6c50e609..52ffc6b729 100644 --- a/uitest/src/com/vaadin/tests/components/popupview/PopupViewResizeWhileOpenTest.java +++ b/uitest/src/com/vaadin/tests/components/popupview/PopupViewResizeWhileOpenTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 Vaadin Ltd. + * 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 -- 2.39.5