Skip to content

Commit 65f0625

Browse files
committed
add/remove comment
1 parent c07e30d commit 65f0625

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
@CryptoFileSystemScoped
1919
public class DirectoryIdBackup {
2020

21-
//visible and existing for testing
2221
private Cryptor cryptor;
2322

2423
@Inject

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import java.nio.channels.Channels;
99
import java.nio.channels.FileChannel;
1010
import java.nio.charset.StandardCharsets;
11+
import java.nio.file.Files;
1112
import java.nio.file.NoSuchFileException;
1213
import java.nio.file.Path;
1314
import java.nio.file.StandardOpenOption;
@@ -24,6 +25,7 @@ public DirectoryIdLoader() {
2425

2526
@Override
2627
public String load(Path dirFilePath) throws IOException {
28+
//TODO: replace by Files.readString(StandardCharsets.UTF_8)
2729
try (FileChannel ch = FileChannel.open(dirFilePath, StandardOpenOption.READ);
2830
InputStream in = Channels.newInputStream(ch)) {
2931
long size = ch.size();

0 commit comments

Comments
 (0)