Skip to content

Commit

Permalink
MONDRIAN: Oops, no generics yet.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 6708]
  • Loading branch information
julianhyde committed May 26, 2006
1 parent c1ccf8b commit 51c172a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions testsrc/main/mondrian/test/DiffRepository.java
Expand Up @@ -132,8 +132,7 @@ public class DiffRepository
* in the same class to share the same diff-repository: if the
* repos gets loaded once per testcase, then only one diff is recorded.
*/
private static final Map<Class, DiffRepository> mapClassToRepos =
new HashMap<Class, DiffRepository>();
private static final Map mapClassToRepos = new HashMap();


private static File findFile(Class clazz, final String suffix)
Expand Down Expand Up @@ -631,7 +630,7 @@ public static DiffRepository lookup(Class clazz)
*/
public static DiffRepository lookup(Class clazz, DiffRepository baseRepos)
{
DiffRepository diffRepos = mapClassToRepos.get(clazz);
DiffRepository diffRepos = (DiffRepository) mapClassToRepos.get(clazz);
if (diffRepos == null) {
final File refFile = findFile(clazz, ".ref.xml");
final File logFile = findFile(clazz, ".log.xml");
Expand Down

0 comments on commit 51c172a

Please sign in to comment.