Index: org/exolab/castor/builder/info/CollectionInfo.java =================================================================== --- org/exolab/castor/builder/info/CollectionInfo.java (Revision 6732) +++ org/exolab/castor/builder/info/CollectionInfo.java (Arbeitskopie) @@ -580,7 +580,7 @@ method.addParameter(new JParameter(JType.INT, "index")); JSourceCode sourceCode = method.getSourceCode(); - sourceCode.add("Object obj = this."); + sourceCode.add("java.lang.Object obj = this."); sourceCode.append(this.getName()); sourceCode.append(".remove(index);");