Author: sebb
Date: Wed Aug 12 12:46:38 2015
New Revision: 1695495

URL: http://svn.apache.org/r1695495
Log:
BCEL-239 Interfaces should not be used to define constants
Convert ExceptionConstants to class (it was not implemented anywhere)

Modified:
    
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/ExceptionConstants.java

Modified: 
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/ExceptionConstants.java
URL: 
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/ExceptionConstants.java?rev=1695495&r1=1695494&r2=1695495&view=diff
==============================================================================
--- 
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/ExceptionConstants.java
 (original)
+++ 
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/ExceptionConstants.java
 Wed Aug 12 12:46:38 2015
@@ -22,7 +22,7 @@ package org.apache.commons.bcel6;
  *
  * @version $Id$
  */
-public interface ExceptionConstants {
+public class ExceptionConstants {
 
     /** The mother of all exceptions
      */
@@ -48,7 +48,7 @@ public interface ExceptionConstants {
     public static final Class<UnsatisfiedLinkError> UNSATISFIED_LINK_ERROR = 
UnsatisfiedLinkError.class;
     public static final Class<VerifyError> VERIFY_ERROR = VerifyError.class;
     /* UnsupportedClassVersionError is new in JDK 1.2 */
-    //public static final Class UnsupportedClassVersionError = 
UnsupportedClassVersionError.class;
+//    public static final Class UnsupportedClassVersionError = 
UnsupportedClassVersionError.class;
     /** Run-Time Exceptions 
      */
     public static final Class<NullPointerException> NULL_POINTER_EXCEPTION = 
NullPointerException.class;


Reply via email to