Skip to content

Fix bug 950#21

Merged
simonharrer merged 2 commits into
JabRef:masterfrom
thiagogt:master
Oct 16, 2014
Merged

Fix bug 950#21
simonharrer merged 2 commits into
JabRef:masterfrom
thiagogt:master

Conversation

@thiagogt

Copy link
Copy Markdown
Contributor

The getBasePath() was returning NullPointerException, because the method was trying to create a File using a null basePath. I changed the getBasePath method to return a String, create a getFileFromBasePath and where the old getBasePath was called, I changed it to getFileFromBasePath, verifying if basePath was null.

…de uma string e validacao do basePath != null para inciar um File()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you please remove this from the pull request as the default logging parameters should not be changed.

@thiagogt

Copy link
Copy Markdown
Contributor Author

Ok simonharrer, its done. Thanks for reminder me.

simonharrer added a commit that referenced this pull request Oct 16, 2014
@simonharrer simonharrer merged commit b44557d into JabRef:master Oct 16, 2014
renovate-bot pushed a commit to renovate-bot/JabRef-_-jabref that referenced this pull request May 14, 2026
* feat: JabRef#3 add required functionality to bookCoverFetcher (JabRef#8)

* feat: add a test for requirement RE02 (JabRef#28)

* feat: add a test for requirement RE02

I also had to change the access modifier to `protected` for one download
function. Additionally, I refactored the download method a bit, in order
to mock at test it more easily.

* fix: cleanup imports

* feat: JabRef#4 add background download and refresh when opening preview (JabRef#21)

* feat: JabRef#34 add missing space and fixed style (JabRef#35)

* feat: JabRef#22 add test for requirement RE03 (JabRef#23)

* changed comments to markdown (JabRef#44)

Co-authored-by: Melker Trané <melkert@kth.se>

* feat: JabRef#52 add new test and created setUp and tearDown (JabRef#53)

* feat: JabRef#13 add test for retrieving cover from empty directory (JabRef#51)

* feat: JabRef#54 add more tests and change modifiers (JabRef#57)

* fix: JabRef#43 change variable names to make their type clear (JabRef#59)

* made tests more uniform and made originally private methods private agai (JabRef#62)

Co-authored-by: Melker Trané <melkert@kth.se>

* docs: JabRef#64 added change to changelog (JabRef#66)

* almost done

* fixed comments

* removed line for debugging

* fixed typo

* added static back

* changed !isEmpty to isPresent

---------

Co-authored-by: SkitArgDuva <117955752+SkitArgDuva@users.noreply.github.com>
Co-authored-by: Melker Trané <melkert@kth.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants