summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
63ebb59)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@190
be28352e-c001-0410-b1a7-
c7978e42abec
try {
// castor descriptor resolver magic
descriptor = this.getClass().getClassLoader().loadClass(this.getClass().getName()+"Descriptor");
try {
// castor descriptor resolver magic
descriptor = this.getClass().getClassLoader().loadClass(this.getClass().getName()+"Descriptor");
- descimpl = (XMLClassDescriptorImpl) descriptor.getConstructor(null).newInstance(null);
+ descimpl = (XMLClassDescriptorImpl) descriptor.getConstructor((Class[])null).newInstance((Object[])null);
} catch (Exception e) {
log.fatal("Source Generation Error!: Couldn't resolve descriptor for "
+this.getClass().getName()
} catch (Exception e) {
log.fatal("Source Generation Error!: Couldn't resolve descriptor for "
+this.getClass().getName()
if (o!=null) {
// XMLClassDescriptorImpl fclasdes = (XMLClassDescriptorImpl) o;
String methname = "get"+fields[i].getFieldName();
if (o!=null) {
// XMLClassDescriptorImpl fclasdes = (XMLClassDescriptorImpl) o;
String methname = "get"+fields[i].getFieldName();
- Method fgetmeth = this.getClass().getMethod(methname,null);
+ Method fgetmeth = this.getClass().getMethod(methname,(Class[])null);
- Object fval = fgetmeth.invoke(this,null);
+ Object fval = fgetmeth.invoke(this,(Object[])null);
if (fval!=null)
rf = (Vobject) fval;
} else {
if (fval!=null)
rf = (Vobject) fval;
} else {