Skip to content

Commit

Permalink
Dereferences the call to Collections.emptyMap() into a properly typed…
Browse files Browse the repository at this point in the history
… variable in order to prevent the method calling itself.

git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@434 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Mar 30, 2011
1 parent d74b0bf commit df2f6db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/org/olap4j/driver/xmla/XmlaOlap4jDatabaseMetaData.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ private ResultSet getMetadata(
XmlaOlap4jConnection.MetadataRequest metadataRequest,
Object... patternValues) throws OlapException
{
final Map<XmlaOlap4jConnection.MetadataColumn, String> overrides =
Collections.emptyMap();
return getMetadata(
metadataRequest,
Collections.emptyMap(),
overrides,
patternValues);
}

Expand Down

0 comments on commit df2f6db

Please sign in to comment.