summaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtConstructor.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-11-04 16:42:55 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-11-04 16:42:55 +0000
commit804fb36894708763ffffd1db7a9be68ef22c340d (patch)
tree420bc7d2f6a5f18873f5a6e443016423918a6860 /src/main/javassist/CtConstructor.java
parentbe2809ffa541cca972f70c6001d0d4e666ab11c0 (diff)
downloadjavassist-804fb36894708763ffffd1db7a9be68ef22c340d.tar.gz
javassist-804fb36894708763ffffd1db7a9be68ef22c340d.zip
fixed a bug in CtConstructor#getName()
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@148 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/CtConstructor.java')
-rw-r--r--src/main/javassist/CtConstructor.java2
1 files changed, 1 insertions, 1 deletions
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();
}
/**