<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Steve,<br><br>thanks for the quick feedback.<br><br><div>> > @WanMil, Steve: Please review.<br>> > In Main.java I use "synchronized" to make sure that concurrent updates<br>> > are handled.<br>> <br>> The synchronized is not required, since int accesses are atomic and it<br>> appears that all changes to it are made via the same thread anyway.<br><br>I see. Do you think the rest is okay? I am always afraid to put<br>additional code into code that handles exceptions.<br>I remember ugly loops caused by this.<br>For example, someone may change logger to throw a <br>MapFailedException. Maybe there is a better place <br>to print the log?<br><br>Gerd<br></div>                                            </div></body>
</html>