From cc8dfe79a99f9c4105dce549d44ebef94141fe7a Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 10 Mar 2018 00:02:35 +0100 Subject: [PATCH] Remove deprecated LockFile(File, FS) constructor Use org.eclipse.jgit.internal.storage.file.LockFile#LockFile(File) instead. Change-Id: I107d9879c02a2006799a238ccaddf87c89f33f77 Signed-off-by: Matthias Sohn --- .../jgit/internal/storage/file/LockFile.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LockFile.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LockFile.java index bc23dcce27..80d67cf6af 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LockFile.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LockFile.java @@ -131,24 +131,6 @@ public class LockFile { private FileSnapshot commitSnapshot; - /** - * Create a new lock for any file. - * - * @param f - * the file that will be locked. - * @param fs - * the file system abstraction which will be necessary to perform - * certain file system operations. - * @deprecated use - * {@link org.eclipse.jgit.internal.storage.file.LockFile#LockFile(File)} - * instead - */ - @Deprecated - public LockFile(final File f, final FS fs) { - ref = f; - lck = getLockFile(ref); - } - /** * Create a new lock for any file. * -- 2.39.5