fix "Constant conditions & exceptions" options panel

This commit is contained in:
Bas Leijdekkers
2011-04-07 16:50:28 +02:00
parent 20f92c9e40
commit f872b6db31
2 changed files with 3 additions and 2 deletions
@@ -416,7 +416,6 @@ public class DataFlowInspection extends BaseLocalInspectionTool {
gc.fill = GridBagConstraints.HORIZONTAL;
gc.anchor = GridBagConstraints.NORTHWEST;
//mySuggestNullables = new JCheckBox("Suggest @Nullable annotation for method possibly return null.\n Requires JDK5.0 and annotations.jar from IDEA distribution");
mySuggestNullables = new JCheckBox(
InspectionsBundle.message("inspection.data.flow.nullable.quickfix.option", ApplicationNamesInfo.getInstance().getProductName()));
mySuggestNullables.setSelected(SUGGEST_NULLABLE_ANNOTATIONS);
@@ -455,6 +454,8 @@ public class DataFlowInspection extends BaseLocalInspectionTool {
gc.insets.bottom = 15;
add(configureAnnotations, gc);
gc.fill = GridBagConstraints.HORIZONTAL;
gc.weighty = 1;
gc.insets.left = 0;
gc.gridy++;
add(myDontReportTrueAsserts, gc);