Skip to content

Endnote XML Exporter: Move factory initialization to constructor#13321

Merged
calixtus merged 2 commits into
JabRef:mainfrom
subhramit:endnote-refactor
Jun 13, 2025
Merged

Endnote XML Exporter: Move factory initialization to constructor#13321
calixtus merged 2 commits into
JabRef:mainfrom
subhramit:endnote-refactor

Conversation

@subhramit

Copy link
Copy Markdown
Member

Follow-up to #11157

Based on internal discussion, the factory initialization should not be static.

Mandatory checks

  • I own the copyright of the code submitted and I license it under the MIT license
  • [/] Change in CHANGELOG.md described in a way that is understandable for the average user (if change is visible to the user)
  • [/] Tests created for changes (if applicable)
  • [/] Manually tested changed features in running JabRef (always required)
  • [/] Screenshots added in PR description (if change is visible to the user)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • [/] Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

…le, use javadoc

Signed-off-by: subhramit <subhramit.bb@live.in>
@subhramit subhramit requested a review from calixtus June 13, 2025 15:46
@subhramit subhramit added dev: code-quality Issues related to code or architecture decisions component: export-or-save dev: performance labels Jun 13, 2025

private static final DocumentBuilderFactory DOCUMENT_BUILDER_FACTORY = DocumentBuilderFactory.newInstance();

private record EndNoteType(String name, Integer number) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This Integer also seems strange

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Changed in 7a8300f

Signed-off-by: subhramit <subhramit.bb@live.in>
@jabref-machine

This comment was marked as off-topic.

@calixtus calixtus added this pull request to the merge queue Jun 13, 2025
Merged via the queue into JabRef:main with commit 69b4ea1 Jun 13, 2025
1 check passed
@calixtus calixtus deleted the endnote-refactor branch June 13, 2025 18:29
Siedlerchr added a commit to FlyJoanne/jabref that referenced this pull request Jun 15, 2025
* upstream/main:
  New Crowdin updates (JabRef#13330)
  Add arm 64 linux runner (JabRef#13258)
  Rename strings and variables in New Entry (JabRef#13312)
  Let consistency checker yield a return code (JabRef#13329)
  Update LETTER fragment to resolve Windows parsing issue (JabRef#13327)
  Add support for "dev: no-bot-comments"
  Update dependency org.hibernate.validator:hibernate-validator to v9.0.1.Final (JabRef#13322)
  Endnote XML Exporter: Move factory initialization to constructor (JabRef#13321)
  Refine assignment reminder (JabRef#13315)
  Add welcome message to first time contributors (JabRef#13314)
  New Crowdin updates (JabRef#13311)
  Added a setting to show File annotations' tab only when the PDF actually contains highlights or comments (JabRef#13279)
  Update dependency org.postgresql:postgresql to v42.7.7 (JabRef#13306)
  Refine PULL_REQUEST_TEMPLATE.md (JabRef#13304)
  Move module tweaking of merged module to launcher (JabRef#13303)
  Speed up gradle update (JabRef#13300)
  testImplementation is enough (JabRef#13299)
Siedlerchr added a commit to JustinHennis1/jabref that referenced this pull request Jun 16, 2025
* upstream/main:
  New Crowdin updates (JabRef#13330)
  Add arm 64 linux runner (JabRef#13258)
  Rename strings and variables in New Entry (JabRef#13312)
  Let consistency checker yield a return code (JabRef#13329)
  Update LETTER fragment to resolve Windows parsing issue (JabRef#13327)
  Add support for "dev: no-bot-comments"
  Update dependency org.hibernate.validator:hibernate-validator to v9.0.1.Final (JabRef#13322)
  Endnote XML Exporter: Move factory initialization to constructor (JabRef#13321)
  Refine assignment reminder (JabRef#13315)
  Add welcome message to first time contributors (JabRef#13314)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: export-or-save dev: code-quality Issues related to code or architecture decisions dev: performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants