Conversation
Contributor
Review Summary by QodoFix hash warning in BibTeX string formatting
WalkthroughsDescription• Fix incorrect hash warning triggered during entry editing • Correct control flow logic in string formatting method • Move warning condition inside proper conditional block Diagramflowchart LR
A["String formatting logic"] -- "Fix control flow" --> B["Correct conditional nesting"]
B -- "Move warning check" --> C["Warning only on unmatched hash"]
C -- "Result" --> D["No spurious warnings"]
File Changes1. jablib/src/main/java/org/jabref/logic/bibtex/FieldWriter.java
|
Contributor
Code Review by Qodo
1. Warning suppression untested
|
subhramit
approved these changes
Apr 20, 2026
Closed
2 tasks
Siedlerchr
approved these changes
Apr 20, 2026
Siedlerchr
added a commit
that referenced
this pull request
Apr 22, 2026
* upstream/main: Remove review-to-comment migration (#15609) Chore(deps): Bump com.uber.nullaway:nullaway in /versions (#15615) Chore(deps): Bump javafx from 26 to 26.0.1 in /versions (#15614) Update dependency org.openjfx:javafx-base to v26.0.1 (#15608) Chore(deps): Bump org.openrewrite.rewrite from 7.30.0 to 7.31.0 (#15602) OpenOffice Refactor subtasks (#15380) Chore(deps): Bump org.hisp.dhis:json-tree in /versions (#15606) Chore(deps): Bump com.autonomousapps:dependency-analysis-gradle-plugin (#15604) Chore(deps): Bump com.autonomousapps:dependency-analysis-gradle-plugin (#15605) Chore(deps): Bump org.openrewrite.recipe:rewrite-recipe-bom (#15603) Fix hash warning (#15596) Update testlens (#15595)
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.
Related issues and pull requests
Follow up to #15559
Fixes https://github.com/JabRef/jabref-issue-melting-pot/issues/1279
Fixes #15586
PR Description
See qodo
Steps to test
Run JabRef, write something in entry editor, see no warning about hashes
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)