]> source.dussan.org Git - jgit.git/commit
ReflogConfigTest: refactor commit method to avoid variable hiding 52/66452/1
authorDavid Pursehouse <david.pursehouse@sonymobile.com>
Fri, 12 Feb 2016 04:43:56 +0000 (13:43 +0900)
committerDavid Pursehouse <david.pursehouse@sonymobile.com>
Fri, 12 Feb 2016 04:43:56 +0000 (13:43 +0900)
commit964da41d52258e88d4f79b0d483a7ee5505c7f0e
treecba6c8ae6522c5eedb25c55fff00f002ab9437f6
parent767d5f4e59fc9901d5348154c78db5d90a04bfca
ReflogConfigTest: refactor commit method to avoid variable hiding

The author and committer parameters were hiding class members of
the same name.

Since the passed in PersonIdent instances were being created from
the class members anyway, remove the parameters and instead create
the PersonIdent instances inline in the method.

Change-Id: I66b057df388835d57f332fdcbadb8a9f4e1094a4
Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ReflogConfigTest.java