Use Context.emptyArgs, not null to denote null-arity method call for consistency.

This commit is contained in:
igor%mir2.org 2004-09-27 20:48:44 +00:00
Родитель 9de2a6d37e
Коммит 81746e1776
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;