зеркало из https://github.com/mozilla/gecko-dev.git
Use Context.emptyArgs, not null to denote null-arity method call for consistency.
This commit is contained in:
Родитель
9de2a6d37e
Коммит
81746e1776
|
@ -95,7 +95,7 @@ class JavaMembers
|
|||
try {
|
||||
if (member instanceof BeanProperty) {
|
||||
BeanProperty bp = (BeanProperty) member;
|
||||
rval = bp.getter.invoke(javaObject, null);
|
||||
rval = bp.getter.invoke(javaObject, Context.emptyArgs);
|
||||
type = bp.getter.method().getReturnType();
|
||||
} else {
|
||||
Field field = (Field) member;
|
||||
|
|
Загрузка…
Ссылка в новой задаче