Skip to content

Commit

Permalink
MONDRIAN: fix warning with source=1.5.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 6956]
  • Loading branch information
julianhyde committed Jun 20, 2006
1 parent d8644a1 commit 3c75e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/mondrian/jolap/util/Model.java
Expand Up @@ -309,7 +309,7 @@ private Method getMethod() {

public Object getValue(Object o) {
try {
return getMethod().invoke(o, null);
return getMethod().invoke(o, (Object []) null);
} catch (IllegalAccessException e) {
throw Util.newInternal(e, "Error while getting attribute value");
} catch (IllegalArgumentException e) {
Expand Down Expand Up @@ -406,7 +406,7 @@ private boolean isMany() {

public Collection getTargets(Object o) {
try {
Object result = getMethod.invoke(o, null);
Object result = getMethod.invoke(o, (Object []) null);
if (result instanceof Collection) {
return (Collection) result;
} else {
Expand Down

0 comments on commit 3c75e29

Please sign in to comment.