You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2005/07/23 19:05:17 UTC

svn commit: r224479 - /ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs

Author: gbayon
Date: Sat Jul 23 10:05:11 2005
New Revision: 224479

URL: http://svn.apache.org/viewcvs?rev=224479&view=rev
Log:
- Fixed unreachable code for cache and QueryForMap

Modified:
    ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs

Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs?rev=224479&r1=224478&r2=224479&view=diff
==============================================================================
--- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs (original)
+++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Sat Jul 23 10:05:11 2005
@@ -835,7 +835,7 @@
 						CacheKeyType.Map);
 				}
 
-				object mapAsObject = (IDictionary)_statement.CacheModel[key];
+				object mapAsObject = _statement.CacheModel[key];
 				// check if this query has alreay been run 
 				if (mapAsObject == CacheModel.NULL_OBJECT) 
 				{