Browse Source

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 <matthias.sohn@sap.com>
stable-5.0
Matthias Sohn 7 years ago
parent
commit
cc8dfe79a9
  1. 18
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LockFile.java

18
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.
*

Loading…
Cancel
Save