forked from I2P_Developers/i2p.i2p
cleanup
This commit is contained in:
@@ -252,13 +252,11 @@ public class SingleFileNamingService extends NamingService {
|
||||
if (options != null)
|
||||
writeOptions(options, out);
|
||||
out.write('\n');
|
||||
out.close();
|
||||
for (NamingServiceListener nsl : _listeners) {
|
||||
nsl.entryAdded(this, hostname, d, options);
|
||||
}
|
||||
return true;
|
||||
} catch (IOException ioe) {
|
||||
if (out != null) try { out.close(); } catch (IOException e) {}
|
||||
_log.error("Error adding " + hostname, ioe);
|
||||
return false;
|
||||
} finally {
|
||||
|
Reference in New Issue
Block a user