Fix FindBugs String == is bad form
commit935b7aa28474d6a26189195a94d0fe61354cbc67
authorShawn O. Pearce <spearce@spearce.org>
Mon, 4 May 2009 23:30:44 +0000 (4 16:30 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 5 May 2009 20:59:19 +0000 (5 22:59 +0200)
treef281ab8619e00ca8460a3bc939010890f837448e
parent749a94af065da3b63913ba9261c4334b1bc4716e
Fix FindBugs String == is bad form

We only used "a == b" to test for both values == null, as we can't
use a.equalsIgnoreCase if a is null.  Instead test for that null
case, and fall through for everything else.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/RepositoryConfig.java