]> source.dussan.org Git - javassist.git/commitdiff
fixed a typo.
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Sun, 14 Mar 2004 17:15:59 +0000 (17:15 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Sun, 14 Mar 2004 17:15:59 +0000 (17:15 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@74 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/bytecode/ClassFile.java

index 1cff98b2fc0094f3b8c15e079e4711d2594658aa..aa8fefd67e7f610cd0f7ba828a720e00eb3c60dc 100644 (file)
@@ -350,7 +350,7 @@ public final class ClassFile {
         while (it.hasNext()) {
             FieldInfo minfo = (FieldInfo)it.next();
             if (minfo.getName().equals(name))
-                throw new CannotCompileException("duplicated field: " + name);
+                throw new CannotCompileException("duplicate field: " + name);
         }
     }
 
@@ -408,7 +408,7 @@ public final class ClassFile {
             MethodInfo minfo = (MethodInfo)it.next();
             if (minfo.getName().equals(name)
                 && Descriptor.eqSignature(minfo.getDescriptor(), descriptor))
-                throw new CannotCompileException("duplicated method: " + name);
+                throw new CannotCompileException("duplicate method: " + name);
         }
     }