lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shai Erera <ser...@gmail.com>
Subject Shouldn't IndexWriter.commit(Map) accept Properties instead?
Date Fri, 19 Jun 2009 19:20:38 GMT
It really assumes a String, String map ... Is it just because Properties is
synced?

If so, then when moving to 1.5 we should declare the Map with Map<String,
String> because currently if anyone will pass anything other than Strings,
the code will fail with a ClassCastException in
ChecksumIndexOutput.writeStringStringMap.

Shai

Mime
View raw message