diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-02-11 03:12:41 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-02-11 03:12:41 +0000 |
commit | 0564d29d853bb18655c35405c74a421e2e550cef (patch) | |
tree | 00807f83c18461432cc5ef800f697c961cedf6e9 /src/main/javassist/ClassPool.java | |
parent | b83522334f4abe2d9d3f83d0b6949fabd984cf75 (diff) | |
download | javassist-0564d29d853bb18655c35405c74a421e2e550cef.tar.gz javassist-0564d29d853bb18655c35405c74a421e2e550cef.zip |
fixed JASSIST-150
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@611 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/ClassPool.java')
-rw-r--r-- | src/main/javassist/ClassPool.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/main/javassist/ClassPool.java b/src/main/javassist/ClassPool.java index dbbb99e5..2c467fb2 100644 --- a/src/main/javassist/ClassPool.java +++ b/src/main/javassist/ClassPool.java @@ -331,17 +331,21 @@ public class ClassPool { } /** - * Records a name that never exists. + * Records a class name that never exists. * For example, a package name can be recorded by this method. * This would improve execution performance - * since <code>get()</code> does not search the class path at all + * since <code>get()</code> quickly throw an exception + * without searching the class path at all * if the given name is an invalid name recorded by this method. * Note that searching the class path takes relatively long time. * - * @param name a class name (separeted by dot). + * <p>The current implementation of this method performs nothing. + * + * @param name an invalid class name (separeted by dots). + * @deprecated */ public void recordInvalidClassName(String name) { - source.recordInvalidClassName(name); + // source.recordInvalidClassName(name); } /** |