Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert Strings Dialog to javafx #3735
Convert Strings Dialog to javafx #3735
Changes from 6 commits
cf7a48f
5b15f26
017ac37
0d40b60
4482a7a
4ed242b
e764d04
f5e2a27
f1e4cd8
aacd4f9
ed77f62
5d0755c
424d463
dd63df4
84c0aba
3fa8648
2482bd0
db5debd
ca2dc2c
4101f76
014dd12
c273ecb
f763eaf
d973630
72bd1ad
23be3e3
74db19a
2f15c24
30d5bf1
634bed4
2363c15
1c2ffa3
49dfd2f
8ed811b
018a432
f5a399f
616cbeb
0082b13
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t.getRowValue
is easier (and please renamet
to something more descriptive.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no abbreviation please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove empty line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to
StringViewModel
or even better just create a constructor that admits aBibtexString
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move this to a new method
BibDatabase.setStrings(Collection<BibtexString>))
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that easy, it's a HashMap which explicitly checks the key before inserting and generates a new id.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant you should simply refactor the code and move (most) of it to a new method in
BibDatabase
(not re-implement it in another way).