]> source.dussan.org Git - jgit.git/commit
CommitCommand: Remove redundant null check 12/64312/1
authorDavid Pursehouse <david.pursehouse@sonymobile.com>
Thu, 14 Jan 2016 05:59:55 +0000 (14:59 +0900)
committerDavid Pursehouse <david.pursehouse@sonymobile.com>
Thu, 14 Jan 2016 06:04:34 +0000 (15:04 +0900)
commit1ed5382b37453309580e11a11cf4c3bb134813fa
treee666c3c79c9e8bcf23c2cb8026ad73014bcd1b1f
parentd2044aed4fc49bc5fe5053febe410b1aa6a95093
CommitCommand: Remove redundant null check

Repository.getWorkTree is annotated as @NonNull, so the check
for it returning null is redundant.

Change-Id: I597b0f774ff857b8900519f14a1a17a904cf7c6f
Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java