final String prevVal = this.readerRegistry.register(id, value);
if (prevVal != null) {
LOG.error("Found addional entry for id='" + id + "', old value was '" + prevVal + "' new value is '" + value + "'");
}
}
<BUG>} catch (final IOException ex) {
LOG.error("Error reading mapping file", ex);
</BUG>
} finally {
if (in != null) {

final String prevVal = this.readerRegistry.register(id, value);
if (prevVal != null) {
LOG.error("Found addional entry for id='" + id + "', old value was '" + prevVal + "' new value is '" + value + "'");
}
}
} catch (final IOException e) {
LOG.error("Error reading " + mappingFile, e);
} finally {
if (in != null) {
