Small cleanups and enhancements#15496
Conversation
Review Summary by QodoEnhance error handling and reduce log verbosity
WalkthroughsDescription• Enhanced error handling in search index clearing with proper resource management • Reduced log level for non-critical messages to decrease console noise • Removed unused imports and properties from GUI state manager • Improved file deletion robustness with exception handling per file Diagramflowchart LR
A["IndexManager<br/>clearOldSearchIndices"] -->|"Add try-catch<br/>per file deletion"| B["Improved<br/>Error Handling"]
C["Log Level<br/>Reductions"] -->|"info to debug<br/>4 locations"| D["Reduced<br/>Console Noise"]
E["Remove Unused<br/>Imports & Properties"] -->|"Clean up<br/>GUI State Manager"| F["Code<br/>Cleanup"]
B --> G["Enhanced PR"]
D --> G
F --> G
File Changes1. jabgui/src/main/java/org/jabref/gui/JabRefGuiStateManager.java
|
Code Review by Qodo
1. Delete error log spam
|
Quick optimization
Related issues and pull requests
Refs #14762
PR Description
Steps to test
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)