[mkgmap-dev] [Patch v2] set program return code and improve logging
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed May 7 15:13:10 BST 2014
Hi all, attached is version 2 of the patch. Changes to v1: - change Main.main to Main.mainStart() which returns an int - let Main.main call mainStart() and use System.exit(1) in case of errors - let unit tests call Main.mainNoSystemExit() which doesn't call System.exit(). - synchronized -> volatile for access of field programRC For version 1 see http://gis.19327.n5.nabble.com/Patch-v1-set-program-return-code-and-improve-logging-tp5805327.html If I hear no complains I'll commit it on friday. Gerd -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140507/4adb6610/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: rc-and-logging-v2.patch Type: application/octet-stream Size: 14983 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140507/4adb6610/attachment.obj>
- Previous message: [mkgmap-dev] Commit: r3262: small performance improvements: use compiled tags in a few more places
- Next message: [mkgmap-dev] Java tuning hint
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list