-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Update Preview Panel on Generate BibtexKey #1355
Conversation
08c8747
to
daf4437
Compare
Current coverage is 27.56%@@ master #1355 diff @@
==========================================
Files 695 695
Lines 46296 46294 -2
Methods 0 0
Messages 0 0
Branches 7650 7650
==========================================
Hits 12759 12759
+ Misses 32437 32435 -2
Partials 1100 1100
|
ATM the crossRef Test is failing, I get a timeout. Otherwise this build is fine. |
@@ -537,7 +538,7 @@ private void generateKeys() { | |||
for (BibEntry entry : entries) { | |||
database.removeEntry(entry); | |||
} | |||
entries.getReadWriteLock().writeLock().lock(); | |||
entries.getReadWriteLock().writeLock().unlock(); |
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.
Can you create a try-finally with unlocking the lock in the finally part? This should be done in the other part of the code as well.
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.
Will look at it.
LGTM Please address my comment, then this can be rebased and merged. |
Fix for JabRef#1353 Use locking with lock try unlock Some formatting Encapsulate frame in getter
daf4437
to
c09a123
Compare
Gradle test execution fails on travis (Code 137 -> Travis issued a SIGKILL) . Seems to be a memory/resource related problem: |
Can be merged. |
Fix for JabRef#1353 Use locking with lock try unlock Some formatting Encapsulate frame in getter
Fix for #1353
Fixed some missing unlocks
Some formatting