From 46900e9c1fbf7d34ab649d0ca53c1821e4c8c210 Mon Sep 17 00:00:00 2001 From: chiba Date: Fri, 13 Jul 2007 15:11:21 +0000 Subject: [PATCH] removed an unnecessary throws. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@395 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/CtMember.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/javassist/CtMember.java b/src/main/javassist/CtMember.java index 16ccc536..9c1406a2 100644 --- a/src/main/javassist/CtMember.java +++ b/src/main/javassist/CtMember.java @@ -32,8 +32,7 @@ public abstract class CtMember { 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 @@ public abstract class CtMember { * @see CtClass#getAvailableAnnotations() * @since 3.3 */ - public abstract Object[] getAvailableAnnotations() - throws ClassNotFoundException; - + public abstract Object[] getAvailableAnnotations(); /** * Obtains the name of the member. -- 2.39.5