com.siyeh.InspectionGadgetsBundle



API Populatity

1 Client projects

Project: com.siyeh

Project JetBrains/intellij-community in file ...onGadgets.src.com.siyeh.ig.RegExInputVerifier.java (2005-08-30)
@@ -16,6 +16,7 @@
 package com.siyeh.ig;
 
 import com.intellij.openapi.ui.Messages;
+import com.siyeh.InspectionGadgetsBundle;
 
 import javax.swing.*;
 import java.text.ParseException;
@@ -39,7 +40,7 @@ public class RegExInputVerifier extends InputVerifier {
                 } catch (final ParseException e) {
                     SwingUtilities.invokeLater(new Runnable() {
                         public void run() {
-                            Messages.showErrorDialog(e.getMessage(), "Malformed Naming Pattern");
+                            Messages.showErrorDialog(e.getMessage(), InspectionGadgetsBundle.message("error.message.regexp.malformed.naming.pattern"));
                         }
                     });
                 }
Project JetBrains/intellij-community in file ...fixes.junit.UseOfObsoleteAssertInspectionTest.java (2011-08-21)
@@ -15,6 +15,7 @@
  */
 package com.siyeh.ig.fixes.junit;
 
+import com.siyeh.InspectionGadgetsBundle;
 import com.siyeh.ig.IGQuickFixesTestCase;
 import com.siyeh.ig.junit.UseOfObsoleteAssertInspection;
 
@@ -56,7 +57,7 @@ public class UseOfObsoleteAssertInspectionTest extends IGQuickFixesTestCase {
   }
 
   private void doFixTest() {
-    doTest(getTestName(true), "Replace with org.junit.Assert");
+    doTest(getTestName(true), InspectionGadgetsBundle.message("use.of.obsolete.assert.quickfix"));
   }
 
   @Override
Project JetBrains/intellij-community in file ...g.global.MethodReturnAlwaysConstantInspection.java (2006-09-27)
@@ -10,6 +10,7 @@ import com.intellij.psi.*;
 import com.intellij.psi.util.PsiUtil;
 import com.siyeh.ig.BaseGlobalInspection;
 import com.siyeh.ig.psiutils.MethodInheritanceUtils;
+import com.siyeh.InspectionGadgetsBundle;
 
 import java.util.ArrayList;
 import java.util.List;
@@ -55,7 +56,7 @@ public class MethodReturnAlwaysConstantInspection extends BaseGlobalInspection {
         for (RefMethod siblingMethod : siblingMethods) {
             if (!globalContext.isSuppressed(siblingMethod, getShortName())) {
                 final PsiMethod siblingPsiMethod = (PsiMethod) siblingMethod.getElement();
-                out.add(manager.createProblemDescriptor(siblingPsiMethod, InspectionsBundle.message(
+                out.add(manager.createProblemDescriptor(siblingPsiMethod, InspectionGadgetsBundle.message(
                         "method.return.always.constant.problem.descriptor"), (LocalQuickFix[]) null,
                                                                              ProblemHighlightType.GENERIC_ERROR_OR_WARNING));
             }