Skip to content

Commit 08c907c

Browse files
committed
cleanup
1 parent a9bfb4d commit 08c907c

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/main/java/org/cryptomator/cryptofs/CryptoFileSystems.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import org.cryptomator.cryptofs.common.BackupHelper;
44
import org.cryptomator.cryptofs.common.Constants;
5-
import org.cryptomator.cryptofs.common.FileSystemCapabilityChecker;
65
import org.cryptomator.cryptolib.api.Cryptor;
76
import org.cryptomator.cryptolib.api.CryptorProvider;
87
import org.cryptomator.cryptolib.api.Masterkey;
@@ -20,8 +19,6 @@
2019
import java.nio.file.NoSuchFileException;
2120
import java.nio.file.Path;
2221
import java.security.SecureRandom;
23-
import java.util.EnumSet;
24-
import java.util.Set;
2522
import java.util.concurrent.ConcurrentHashMap;
2623
import java.util.concurrent.ConcurrentMap;
2724

src/main/java/org/cryptomator/cryptofs/Symlinks.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ private void assertIsSymlink(CryptoPath cleartextPath, Path ciphertextSymlinkFil
9090

9191
/**
9292
* Gets the target of a symlink. Recursive, if the target is a symlink itself.
93+
*
9394
* @param cleartextPath A cleartext path. Might be a symlink, otherwise this method is no-op.
9495
* @return The resolved cleartext path. Might be the same as <code>cleartextPath</code> if it wasn't a symlink in the first place.
9596
* @throws IOException

src/main/java/org/cryptomator/cryptofs/fh/OpenCryptoFileModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public AtomicReference<Instant> provideLastModifiedDate(@OriginalOpenFilePath Pa
4646
@OpenFileSize
4747
public AtomicLong provideFileSize() {
4848
// will be initialized when first creating a FileChannel. See OpenCryptoFile#size()
49-
return new AtomicLong(-1l);
49+
return new AtomicLong(-1L);
5050
}
5151

5252
private Optional<BasicFileAttributes> readBasicAttributes(Path path) {

0 commit comments

Comments
 (0)