From: chiba Date: Thu, 4 Nov 2004 16:42:55 +0000 (+0000) Subject: fixed a bug in CtConstructor#getName() X-Git-Tag: rel_3_17_1_ga~468 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=804fb36894708763ffffd1db7a9be68ef22c340d;p=javassist.git fixed a bug in CtConstructor#getName() git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@148 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/CtConstructor.java b/src/main/javassist/CtConstructor.java index 72dcee11..cac15b36 100644 --- a/src/main/javassist/CtConstructor.java +++ b/src/main/javassist/CtConstructor.java @@ -180,7 +180,7 @@ public final class CtConstructor extends CtBehavior { if (methodInfo.isStaticInitializer()) return MethodInfo.nameClinit; else - return declaringClass.getName(); + return declaringClass.getSimpleName(); } /**