Skip to content

Commit 2f1a96d

Browse files
committedApr 21, 2017
fix some more checkstyle warnings
1 parent 4ce6ffb commit 2f1a96d

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed
 

‎src/main/java/org/jabref/gui/fieldeditors/HtmlTransferable.java

-3
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,12 @@ public class HtmlTransferable implements Transferable {
1919

2020
public static final DataFlavor HTML_FLAVOR = new DataFlavor("text/html;charset=utf-8;class=java.lang.String", "HTML Format");
2121
public static final DataFlavor TEXT_FLAVOR = DataFlavor.stringFlavor;
22-
2322
private static final List<DataFlavor> ALL_FLAVORS = Arrays.asList(HTML_FLAVOR, DataFlavor.allHtmlFlavor, TEXT_FLAVOR);
24-
2523
private static final Pattern HTML_NEWLINE = Pattern.compile(" ?<br>|<BR>");
2624
private static final Pattern REMOVE_HTML = Pattern.compile("<(?!br)(?!BR).*?>");
2725
private static final Pattern WHITESPACE_AROUND_NEWLINE = Pattern.compile("(?m)^\\s+|\\v+");
2826
private static final Pattern DOUBLE_WHITESPACES = Pattern.compile("[ ]{2,}");
2927
private final String htmlText;
30-
3128
private final String plainText;
3229

3330
public HtmlTransferable(String html) {

‎src/main/java/org/jabref/gui/fieldeditors/JournalEditor.java

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import org.jabref.logic.journals.JournalAbbreviationPreferences;
1313
import org.jabref.model.entry.BibEntry;
1414

15-
1615
public class JournalEditor extends HBox implements FieldEditorFX {
1716

1817
private final String fieldName;

‎src/main/java/org/jabref/gui/fieldeditors/OwnerEditor.java

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import org.jabref.model.entry.BibEntry;
1212
import org.jabref.preferences.JabRefPreferences;
1313

14-
1514
public class OwnerEditor extends HBox implements FieldEditorFX {
1615

1716
private final String fieldName;

‎src/main/java/org/jabref/gui/fieldeditors/UrlEditor.java

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import org.jabref.gui.util.ControlHelper;
1212
import org.jabref.model.entry.BibEntry;
1313

14-
1514
public class UrlEditor extends HBox implements FieldEditorFX {
1615

1716
private final String fieldName;

0 commit comments

Comments
 (0)
Please sign in to comment.