Skip to content
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

Merged
merged 1 commit into from
May 12, 2016

Conversation

Siedlerchr
Copy link
Member

Fix for #1353
Fixed some missing unlocks
Some formatting

  • Change in CHANGELOG.md described

@Siedlerchr Siedlerchr force-pushed the updateFetcherPreview branch from 08c8747 to daf4437 Compare May 8, 2016 16:36
@codecov-io
Copy link

Current coverage is 27.56%

Merging #1355 into master will increase coverage by +<.01%

@@             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          
  1. 2 files (not in diff) in ...va/net/sf/jabref/gui were modified. more
    • Misses -2

Powered by Codecov. Last updated by f968736...08c8747

@Siedlerchr
Copy link
Member Author

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();
Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will look at it.

@simonharrer
Copy link
Contributor

LGTM

Please address my comment, then this can be rebased and merged.

@simonharrer simonharrer added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label May 9, 2016
Fix for JabRef#1353
Use locking with lock try unlock
Some formatting
Encapsulate frame in getter
@Siedlerchr Siedlerchr force-pushed the updateFetcherPreview branch from daf4437 to c09a123 Compare May 11, 2016 21:01
@Siedlerchr
Copy link
Member Author

Gradle test execution fails on travis (Code 137 -> Travis issued a SIGKILL) . Seems to be a memory/resource related problem:
travis-ci/travis-ci#2882

@tobiasdiez tobiasdiez closed this May 11, 2016
@tobiasdiez tobiasdiez reopened this May 11, 2016
@Siedlerchr
Copy link
Member Author

Can be merged.

@tobiasdiez tobiasdiez merged commit e988335 into JabRef:master May 12, 2016
tschechlovdev pushed a commit to tschechlovdev/jabref that referenced this pull request May 21, 2016
Fix for JabRef#1353
Use locking with lock try unlock
Some formatting
Encapsulate frame in getter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants