]> source.dussan.org Git - jgit.git/commit
Don't crash if we try to load the config for a MockSystemReader 47/147/3
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 14 Dec 2009 08:06:22 +0000 (09:06 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 22 Dec 2009 00:36:53 +0000 (16:36 -0800)
commitd80569955ed4b38732aeb3dc88ffa99243002448
tree37a94ee4f1ee0f33b90e3bf9fcea64a1822eb096
parent53f3632f604d50e2f37b2fed9a1476bb2b55bd22
Don't crash if we try to load the config for a MockSystemReader

Instead do nothing.  For now, save() will fail and the config
file is set to null, which may surprise some calling tests.

Change-Id: I1c65f8b1131569da01b4ef33678d813565521fbb
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java