From 804fb36894708763ffffd1db7a9be68ef22c340d Mon Sep 17 00:00:00 2001 From: chiba Date: Thu, 4 Nov 2004 16:42:55 +0000 Subject: [PATCH] fixed a bug in CtConstructor#getName() git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@148 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/CtConstructor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /** -- 2.39.5