diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2016-02-15 18:44:24 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2016-02-15 18:44:24 +0900 |
commit | e96cb22a43e8e67274e39b3d5fb852a20e9b3a04 (patch) | |
tree | 4a1c3d5abb00c3cab957e2f91177b41713e00940 /org.eclipse.jgit.junit/src | |
parent | 979fa19110df0906a82e92e32d7d3ccf7eca3712 (diff) | |
download | jgit-e96cb22a43e8e67274e39b3d5fb852a20e9b3a04.tar.gz jgit-e96cb22a43e8e67274e39b3d5fb852a20e9b3a04.zip |
Don't use deprecated LockFile constructor
Change-Id: Ibc3e2f3372e1a65732dd6d3c71cec53fb1aa15e2
Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
Diffstat (limited to 'org.eclipse.jgit.junit/src')
-rw-r--r-- | org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java index 8439c39c8b..e259156c31 100644 --- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java +++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java @@ -905,7 +905,7 @@ public class TestRepository<R extends Repository> { private void writeFile(final File p, final byte[] bin) throws IOException, ObjectWritingException { - final LockFile lck = new LockFile(p, db.getFS()); + final LockFile lck = new LockFile(p); if (!lck.lock()) throw new ObjectWritingException("Can't write " + p); try { |