]> source.dussan.org Git - jgit.git/commit
Avoid calls to System.exit() and throw an exception instead 82/21182/7
authorGuillaume Nodet <gnodet@gmail.com>
Fri, 21 Mar 2014 14:53:44 +0000 (15:53 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 1 Apr 2014 22:15:15 +0000 (00:15 +0200)
commit977596b209866d52aee2f12f722403e367bc7ebd
tree42bff70414b3c6d9f4ba93c9c177b581d3f17a5c
parentc0574fe680a45a27ca2d278ecb0cc1a1bfd3a440
Avoid calls to System.exit() and throw an exception instead

The exception is caught in Main and System.exit() is called.

Bug: 413522
Change-Id: Ibe68f7104d4fd55b832000a7840c07a169e7dd58
Signed-off-by: Guillaume Nodet <gnodet@gmail.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Die.java
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java