Fix garbled BibEntry Javadoc example#15834
Merged
Merged
Conversation
Restore the multi-line BibTeX example that was collapsed into a single nonsensical line when the Javadoc was converted from HTML to Markdown. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
Review Summary by QodoRestore multi-line BibTeX example in BibEntry Javadoc
WalkthroughsDescription• Restores multi-line BibTeX example in BibEntry class Javadoc • Replaces garbled single-line example with properly formatted code block • Aligns example with explanatory bullet points below it Diagramflowchart LR
A["Garbled single-line<br/>Javadoc example"] -->|"Convert to<br/>fenced code block"| B["Multi-line BibTeX<br/>example with @misc entry"]
B -->|"Matches explanatory<br/>bullets"| C["Clear documentation<br/>for developers"]
File Changes1. jablib/src/main/java/org/jabref/model/entry/BibEntry.java
|
Contributor
Code Review by Qodo
1. Misleading BibTeX comment line
|
Siedlerchr
reviewed
May 26, 2026
Siedlerchr
approved these changes
May 26, 2026
Siedlerchr
added a commit
to InAnYan/jabref
that referenced
this pull request
May 28, 2026
* upstream/main: (29 commits) Chore(deps): Bump dev.langchain4j:langchain4j-bom in /versions (JabRef#15853) Chore(deps): Bump org.glassfish.jaxb:jaxb-runtime in /versions (JabRef#15854) Chore(deps): Bump com.gradleup.shadow:shadow-gradle-plugin (JabRef#15852) Chore(deps): Bump com.gradleup.shadow:shadow-gradle-plugin (JabRef#15849) Chore(deps): Bump com.autonomousapps:dependency-analysis-gradle-plugin (JabRef#15850) Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.6 (JabRef#15844) Fix reset and import of AiPreferences (JabRef#15843) Fix Comparable Contract Violation in SharedBibEntryData (JabRef#15806) (JabRef#15842) Chore(deps): Bump com.dlsc.gemsfx:gemsfx from 4.0.5 to 4.1.0 in /versions (JabRef#15841) Chore(deps): Bump jablib/src/main/resources/csl-styles (JabRef#15840) New Crowdin updates (JabRef#15839) Add group pseudonymization support (fixes JabRef#14117) (JabRef#15258) Feature parse MeSH terms in PubMed MEDLINE records (JabRef#15529) Fix/non latin author parsed as name prefix (JabRef#15823) Fix not on fx thread cleanup (JabRef#15835) Fix garbled BibEntry Javadoc example (JabRef#15834) Revert "Fix cleanup operationn setFiles not on fx thread causes exceptiosn" Revert "changelog" changelog Fix cleanup operationn setFiles not on fx thread causes exceptiosn ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description
The class-level Javadoc on
BibEntryshowed a single garbled example line (Some commment={fieldValue},otherFieldName ={otherFieldValue}). The original multi-line BibTeX block was collapsed when the Javadoc was converted from HTML to Markdown (commit fb5a3e7), leaving the surrounding bullets referencingmisc,key,fieldName, andotherFieldNamewithout anything in the example to match. This PR restores the multi-line BibTeX example inside a fenced```bibtexcode block so the example matches the explanatory text below it.Steps to test
jablib/src/main/java/org/jabref/model/entry/BibEntry.javain an IDE.AI usage
Claude Code (model claude-opus-4-7)
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)