Author: sflanigan
Date: 2009-04-02 23:33:55 -0400 (Thu, 02 Apr 2009)
New Revision: 14478
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/Messages.java
Log:
JBIDE-3557 Eliminate false positives from "Find broken externalized strings" by
moving static initializer above strings.
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/Messages.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/Messages.java 2009-04-03
03:32:40 UTC (rev 14477)
+++
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/Messages.java 2009-04-03
03:33:55 UTC (rev 14478)
@@ -14,6 +14,10 @@
public class Messages extends NLS {
+ static {
+ initializeMessages("org.jboss.ide.eclipse.archives.webtools.Messages",
Messages.class); //$NON-NLS-1$
+ }
+
public static String ExceptionCannotScanDirectory;
public static String ExceptionUnexpectedException;
public static String ExceptionCannotDeployFile;
@@ -58,8 +62,4 @@
public static String EjbJarPreview;
public static String EjbJarDescription;
-
- static {
- initializeMessages("org.jboss.ide.eclipse.archives.webtools.Messages",
Messages.class); //$NON-NLS-1$
- }
}
Show replies by date