mirror of
https://github.com/corda/corda.git
synced 2025-01-22 04:18:31 +00:00
Use the default value in annotations' proxies
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
58ec623d7a
commit
6f5bcb00b9
@ -27,6 +27,6 @@ public class AnnotationInvocationHandler implements InvocationHandler {
|
||||
return data[i + 1];
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException();
|
||||
return method.getDefaultValue();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user