Skip to content

Commit beefbaa

Browse files
authoredFeb 4, 2025··
Add comment to field fileType of LinkedFile (#12458)
1 parent e0dd8d4 commit beefbaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/main/java/org/jabref/model/entry/LinkedFile.java

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public class LinkedFile implements Serializable {
4343
// We have to mark these properties as transient because they can't be serialized directly
4444
private transient StringProperty description = new SimpleStringProperty();
4545
private transient StringProperty link = new SimpleStringProperty();
46+
// This field is a {@link StringProperty}, and not an {@link ObjectProperty<FileType>}, as {@link LinkedFile} might
47+
// be a URI, where a file type might not be present.
4648
private transient StringProperty fileType = new SimpleStringProperty();
4749
private transient StringProperty sourceURL = new SimpleStringProperty();
4850

0 commit comments

Comments
 (0)
Please sign in to comment.