Skip to content

Commit 1322059

Browse files
committed
Update TODOs
1 parent acca5ee commit 1322059

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/org/scijava/desktop/platform/linux/DesktopFile.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ public static DesktopFile parse(final Path path) throws IOException {
214214
*/
215215
public void writeTo(final Path path) throws IOException {
216216
final Path oldPath = this.path;
217+
// TODO: oldPath is not used; and why is this method "for backward compatibility"? Do we actually need it?
217218
// Temporarily change path, save, then restore
218219
try {
219220
// Create a temporary instance with the new path

src/main/java/org/scijava/desktop/platform/linux/LinuxPlatform.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ private synchronized Map<String, String> loadMimeTypeMapping() throws IOExceptio
421421

422422
extensionToMime = new LinkedHashMap<>();
423423

424-
// TODO: Query IOService for formats
424+
// TODO: We need public API in LinkService for registering the extensions we want.
425+
// TODO: Then, in fiji-links, we can use that API to plug in all the SCIFIO-supported file formats.
425426

426427
return extensionToMime;
427428
}

0 commit comments

Comments
 (0)