[jboss-cvs] javassist/src/main/javassist ...

Shigeru Chiba chiba at is.titech.ac.jp
Fri Jul 13 11:11:21 EDT 2007


  User: chiba   
  Date: 07/07/13 11:11:21

  Modified:    src/main/javassist  CtMember.java
  Log:
  removed an unnecessary throws.
  
  Revision  Changes    Path
  1.20      +2 -5      javassist/src/main/javassist/CtMember.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CtMember.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/CtMember.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- CtMember.java	18 Jun 2007 23:51:07 -0000	1.19
  +++ CtMember.java	13 Jul 2007 15:11:21 -0000	1.20
  @@ -32,8 +32,7 @@
           public Object[] getAnnotations()
               throws ClassNotFoundException { return null; }
           public byte[] getAttribute(String name) { return null; }
  -        public Object[] getAvailableAnnotations()
  -            throws ClassNotFoundException { return null; }
  +        public Object[] getAvailableAnnotations() { return null; }
           public int getModifiers() { return 0; }
           public String getName() { return null; }
           public String getSignature() { return null; }
  @@ -225,9 +224,7 @@
        * @see CtClass#getAvailableAnnotations()
        * @since 3.3
        */
  -    public abstract Object[] getAvailableAnnotations()
  -        throws ClassNotFoundException;
  -
  +    public abstract Object[] getAvailableAnnotations();
   
       /**
        * Obtains the name of the member.
  
  
  



More information about the jboss-cvs-commits mailing list