File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/cryptomator/linux/quickaccess Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 23
23
import java .util .UUID ;
24
24
import java .util .concurrent .TimeUnit ;
25
25
import java .util .concurrent .locks .Lock ;
26
- import java .util .concurrent .locks .ReentrantReadWriteLock ;
26
+ import java .util .concurrent .locks .ReentrantLock ;
27
27
28
28
/**
29
29
* Implemenation of the {@link QuickAccessService} for KDE desktop environments using Dolphin file browser.
@@ -36,7 +36,7 @@ public class DolphinPlaces implements QuickAccessService {
36
36
private static final int MAX_FILE_SIZE = 1 << 15 ; //xml is quite verbose
37
37
private static final Path PLACES_FILE = Path .of (System .getProperty ("user.home" ), ".local/share/user-places.xbel" );
38
38
private static final Path TMP_FILE = PLACES_FILE .resolveSibling ("user-places.xbel.cryptomator.tmp" );
39
- private static final Lock MODIFY_LOCK = new ReentrantReadWriteLock (). writeLock ();
39
+ private static final Lock MODIFY_LOCK = new ReentrantLock ();
40
40
private static final String ENTRY_TEMPLATE = """
41
41
<bookmark href="%s">
42
42
<title>%s</title>
You can’t perform that action at this time.
0 commit comments