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);
}
}
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);
}
}