Skip to content

Commit 7cfd48d

Browse files
committed
Teach FileType how to stringify itself
1 parent d78b5c0 commit 7cfd48d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/main/java/org/scijava/desktop/FileType.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,12 @@ public FileType(String extension, String mimeType, String description) {
6666
this.mimeType = mimeType;
6767
this.description = description;
6868
}
69+
70+
@Override
71+
public String toString() {
72+
return "FileType" +
73+
": extension=" + extension +
74+
", mimeType=" + mimeType +
75+
", description=" + description;
76+
}
6977
}

0 commit comments

Comments
 (0)