Fix null-away issues for TexGroup#15980
Conversation
…actor/null-away-3-lazy # Conflicts: # jablib/src/main/java/org/jabref/model/groups/TexGroup.java
Code Review by Qodo
1.
|
PR Summary by QodoFix NullAway nullability in TexGroup and AuxParserResult Description
Diagram
High-Level Assessment
Files changed (2)
|
|
Note that your PR will not be reviewed/accepted until you have gone through the mandatory checks in the description and marked each of them them exactly in the format of |
koppor
left a comment
There was a problem hiding this comment.
This is too much for us
- Larger would be to find this pattern somewhere in the Java eco system (Guava)
- Just use
@NullableforkeysUsedInAux
DevCall opts for B to "reduce" cognitive load in comparison to A.
| keysUsedInAux = auxResult.getUniqueKeys(); | ||
| } | ||
|
|
||
There was a problem hiding this comment.
This is not AI. Something wrong with the style.. IDK, solving it
|
Fixed with a simple nullable. (IMHO, I think that |
|
Code review by qodo was updated up to the latest commit ac844c7 |
LazyValue classTexGroup
Related issues and pull requests
Closes nothing.
PR Description
Just fixing a null-away issue. Introduced new class, potentially very useful.
Steps to test
JabRef should behave normally.
AI usage
AI helped me in writing the
LazyValueclass (OpenAI ChatGPT). And we discussed various approaches.Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)