Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit df2f6db

Browse files
committedMar 30, 2011
Dereferences the call to Collections.emptyMap() into a properly typed 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
1 parent d74b0bf commit df2f6db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/org/olap4j/driver/xmla/XmlaOlap4jDatabaseMetaData.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@ private ResultSet getMetadata(
5252
XmlaOlap4jConnection.MetadataRequest metadataRequest,
5353
Object... patternValues) throws OlapException
5454
{
55+
final Map<XmlaOlap4jConnection.MetadataColumn, String> overrides =
56+
Collections.emptyMap();
5557
return getMetadata(
5658
metadataRequest,
57-
Collections.emptyMap(),
59+
overrides,
5860
patternValues);
5961
}
6062

0 commit comments

Comments
 (0)
Please sign in to comment.