diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2010-07-22 02:01:32 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2010-07-22 02:01:32 +0000 |
commit | 91a1c094f0df80bf0e4e48a88cd74ace0411538f (patch) | |
tree | 63c4a903ad534b9cd79d5bf7e31dda9e156d00c4 /src/main/javassist/compiler | |
parent | b8b4b628bf069474152419b0451c9f0165faa97e (diff) | |
download | javassist-91a1c094f0df80bf0e4e48a88cd74ace0411538f.tar.gz javassist-91a1c094f0df80bf0e4e48a88cd74ace0411538f.zip |
fixed typos.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@561 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/compiler')
-rw-r--r-- | src/main/javassist/compiler/JvstCodeGen.java | 2 | ||||
-rw-r--r-- | src/main/javassist/compiler/MemberCodeGen.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/javassist/compiler/JvstCodeGen.java b/src/main/javassist/compiler/JvstCodeGen.java index 47188504..91b0eca7 100644 --- a/src/main/javassist/compiler/JvstCodeGen.java +++ b/src/main/javassist/compiler/JvstCodeGen.java @@ -254,7 +254,7 @@ public class JvstCodeGen extends MemberCodeGen { String name = sbuf.toString(); Object[] names = resolver.getClassPool().lookupCflow(name); if (names == null) - throw new CompileError("no such a " + cflowName + ": " + name); + throw new CompileError("no such " + cflowName + ": " + name); bytecode.addGetstatic((String)names[0], (String)names[1], "Ljavassist/runtime/Cflow;"); diff --git a/src/main/javassist/compiler/MemberCodeGen.java b/src/main/javassist/compiler/MemberCodeGen.java index 892fc154..cbff0a44 100644 --- a/src/main/javassist/compiler/MemberCodeGen.java +++ b/src/main/javassist/compiler/MemberCodeGen.java @@ -590,7 +590,7 @@ public class MemberCodeGen extends CodeGen { if (mname.equals(MethodInfo.nameInit)) { isSpecial = true; if (declClass != targetClass) - throw new CompileError("no such a constructor"); + throw new CompileError("no such constructor"); if (declClass != thisClass && AccessFlag.isPrivate(acc)) { desc = getAccessibleConstructor(desc, declClass, minfo); |