From 1dcc102ef7535df9cb0bcd13111b90000006c5b8 Mon Sep 17 00:00:00 2001 From: "Dmitry.Krasilschikov" Date: Sun, 22 Mar 2020 20:39:58 +0200 Subject: [PATCH] IDEA-235533 annotate by @Checkbox GitOrigin-RevId: 5ab5e2cd2c0c85b1e5da2c7a0cee0da99f52d64e --- .../src/com/intellij/ui/components/JBCheckBox.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/platform-api/src/com/intellij/ui/components/JBCheckBox.java b/platform/platform-api/src/com/intellij/ui/components/JBCheckBox.java index 4ba14c5c2db9..f37a1c599612 100644 --- a/platform/platform-api/src/com/intellij/ui/components/JBCheckBox.java +++ b/platform/platform-api/src/com/intellij/ui/components/JBCheckBox.java @@ -1,6 +1,7 @@ // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui.components; +import com.intellij.openapi.util.NlsUI; import com.intellij.ui.AnchorableComponent; import com.intellij.util.ui.StartupUiUtil; import com.intellij.util.ui.UIUtil; @@ -23,11 +24,11 @@ public class JBCheckBox extends JCheckBox implements AnchorableComponent { this(null); } - public JBCheckBox(@Nullable @Nls String text) { + public JBCheckBox(@Nullable @Nls @NlsUI.Checkbox String text) { this(text, false); } - public JBCheckBox(@Nullable @Nls String text, boolean selected) { + public JBCheckBox(@Nullable @Nls @NlsUI.Checkbox String text, boolean selected) { super(text, null, selected); }