Map result;
if ( scratch_file_is == null ){
result = new LightHashMap();
}else{
// System.out.println( "read cache file " + scratch_file_name + " for " + this );
Properties p = new Properties();
InputStream fis = scratch_file_is;
try{
p.load( fis );
fis.close();
scratch_file_is = new FileInputStream( scratch_file_name );
messages = new LightHashMap();
messages.putAll( p );
result = messages;
}catch( Throwable e ){
if ( fis != null ){
try{
fis.close();
}catch( Throwable f ){
}
}
Debug.out( "Failed to load message bundle scratch file", e );
scratch_file_name.delete();
scratch_file_is = null;
result = new LightHashMap();
}
}
if ( added_strings != null ){