From f3e675f95cc1dda2d393e4aa1059fd35db78e3c0 Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Wed, 16 Sep 2015 21:34:33 +0300 Subject: [PATCH] fix javadoc --- platform/util/src/com/intellij/util/ui/UIUtil.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/util/src/com/intellij/util/ui/UIUtil.java b/platform/util/src/com/intellij/util/ui/UIUtil.java index 4e824b1bc2ea..b950b0b29332 100644 --- a/platform/util/src/com/intellij/util/ui/UIUtil.java +++ b/platform/util/src/com/intellij/util/ui/UIUtil.java @@ -3425,7 +3425,9 @@ public class UIUtil { /** * Returns the first focusable component in the specified container. - * This method works. + * This method returns {@code null} if container is {@code null}, + * or if focus traversal policy cannot be determined, + * or if found focusable component is not a {@link JComponent}. * * @param container a container whose first focusable component is to be returned * @return the first focusable component or {@code null} if it cannot be found