-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Labels
component: cleanup-opsgood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.size: small📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Description
JabRef allows for fixing field content. Example: Use only one space instead of multiple ones in a field. These is called "formatters" in JabRef.
Example: org.jabref.logic.formatter.bibtexfields.NormalizeWhitespaceFormatter
The class org.jabref.logic.cleanup.ISSNCleanup is such a formatter, but its implemetned as Cleanup. Which is wrong. --> CleanUps are used for multi-field operations.
Task
- Move
org.jabref.logic.cleanup.ISSNCleanupto packageorg.jabref.logic.formatter.bibtexfields - Rename to
NormalizeIssn - Make it
extends Formatter(removeimplements CleanupJob) - Adapt code accordingly
- Remove from "Miscallenous" section in cleanup dialog
- Add the formatter to
org.jabref.logic.cleanup.FieldFormatterCleanups#DEFAULT_SAVE_ACTIONS(only for fieldorg.jabref.model.entry.field.StandardField#ISSN)
Micro task:
Fix formatting in jabgui/src/main/resources/org/jabref/gui/cleanup/CleanupPresetPanel.fxml - the indent is wrong. (from line 48 on)
This is a follow-up to #1590.
Metadata
Metadata
Assignees
Labels
component: cleanup-opsgood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.size: small📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Type
Projects
Status
Done