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>
tags/v5.0.0.201805151920-m7
Matthias Sohn 6 years ago
parent
commit
cc8dfe79a9

+ 0
- 18
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LockFile.java View File

@@ -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