From df17c6dec3f6ab3111d51db74a32752804a8abad Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Fri, 23 Nov 2012 14:25:40 +0200 Subject: Fix incorrect null check in PopupView (#10238) Change-Id: I6a1a3754787f312bbe8fee27588f04d2d6157afe --- server/src/com/vaadin/ui/PopupView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/com') diff --git a/server/src/com/vaadin/ui/PopupView.java b/server/src/com/vaadin/ui/PopupView.java index f393de575b..9f43ef193a 100644 --- a/server/src/com/vaadin/ui/PopupView.java +++ b/server/src/com/vaadin/ui/PopupView.java @@ -212,7 +212,7 @@ public class PopupView extends AbstractComponent implements HasComponents { */ @Override public Iterator iterator() { - if (content != null) { + if (visibleComponent != null) { return Collections.singletonList(visibleComponent).iterator(); } else { return Collections. emptyList().iterator(); -- cgit v1.2.3