Update of /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7480/src/com/mebigfatguy/fbcontrib/detect
Modified Files:
DeclaredRuntimeException.java
Log Message:
init static members in <clinit>, not <init>
Index: DeclaredRuntimeException.java
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DeclaredRuntimeException.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- DeclaredRuntimeException.java 1 Oct 2005 07:38:02 -0000 1.5
+++ DeclaredRuntimeException.java 5 Dec 2005 04:29:06 -0000 1.6
@@ -41,7 +41,7 @@
private static final Set<String> notFoundExceptions = new HashSet<String>();
private static JavaClass runtimeExceptionClass;
- {
+ static {
try {
runtimeExceptionClass = Repository.lookupClass("java.lang.RuntimeException");
} catch (ClassNotFoundException cnfe) {
|