Skip to content

Fix storing of custom jstyles#6242

Merged
Siedlerchr merged 2 commits into
masterfrom
fixOOPrefs
Apr 5, 2020
Merged

Fix storing of custom jstyles#6242
Siedlerchr merged 2 commits into
masterfrom
fixOOPrefs

Conversation

@Siedlerchr

@Siedlerchr Siedlerchr commented Apr 4, 2020

Copy link
Copy Markdown
Member

Fixes #6170
Rename method for internalStyle

  • Change in CHANGELOG.md described (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for bigger UI changes)
  • Checked documentation: Is the information available and up to date? If not: Issue created at https://github.com/JabRef/user-documentation/issues.

Fixes #6170
Rename method for internalStyle
@Siedlerchr Siedlerchr added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 4, 2020

@tobiasdiez tobiasdiez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, just a bit of nitpicking from my side

}

public void storePrefs() {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

delete empty line


public void storePrefs() {

List<String> externalStyles = styles.stream().filter(style -> !style.internalStyleProperty().get()).map(this::toOOBibStyle).map(OOBibStyle::getPath).collect(Collectors.toList());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Instead of internalStyleProperty().get() use OOBibStyle.isInternalStyle?

loadExternalStyles();
}


Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove empty line

Reorder filter
@Siedlerchr Siedlerchr merged commit d223bdd into master Apr 5, 2020
@Siedlerchr Siedlerchr deleted the fixOOPrefs branch April 5, 2020 16:24
koppor pushed a commit that referenced this pull request Oct 15, 2022
4eee79a Fix director not showing in MHRAs (#6271)
20c4b5e Update the-journal-of-pain.csl (#6202)
6ba269f Added missing book volume in short-title-note (#6262)
1a11c0f Update harvard-stellenbosch-university.csl (#6256)
6b598e7 Update karstenia.csl (#6242)
38bc5fe APA: Swap priority for periodical page and number (#6255)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 4eee79a
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.

Imported open office jstyle files disappear when re-starting JabRef (Windows10)

2 participants