Skip to content

Commit

Permalink
Fix architecture violation
Browse files Browse the repository at this point in the history
move formatter down to model, only option
  • Loading branch information
Siedlerchr committed Jul 17, 2020
1 parent 87e8242 commit 1a43290
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
import org.jabref.logic.bibtex.comparator.FieldComparatorStack;
import org.jabref.logic.bibtex.comparator.IdComparator;
import org.jabref.logic.citationkeypattern.CitationKeyGenerator;
import org.jabref.logic.formatter.bibtexfields.NormalizeNewlinesFormatter;
import org.jabref.logic.formatter.bibtexfields.TrimWhitespaceFormatter;
import org.jabref.model.FieldChange;
import org.jabref.model.bibtexkeypattern.GlobalCitationKeyPattern;
import org.jabref.model.cleanup.FieldFormatterCleanup;
import org.jabref.model.cleanup.FieldFormatterCleanups;
import org.jabref.model.cleanup.NormalizeNewlinesFormatter;
import org.jabref.model.database.BibDatabase;
import org.jabref.model.database.BibDatabaseContext;
import org.jabref.model.database.BibDatabaseMode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import java.util.Objects;
import java.util.Set;

import org.jabref.logic.formatter.bibtexfields.NormalizeNewlinesFormatter;
import org.jabref.model.FieldChange;
import org.jabref.model.entry.BibEntry;
import org.jabref.model.entry.event.EntriesEventSource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package org.jabref.logic.formatter.bibtexfields;
package org.jabref.model.cleanup;

import java.util.Objects;

import org.jabref.logic.l10n.Localization;
import org.jabref.logic.util.OS;
import org.jabref.model.cleanup.Formatter;

/**
* Trim all whitespace characters (defined in java) in the string.
Expand Down

0 comments on commit 1a43290

Please sign in to comment.