Skip to content

Commit

Permalink
Fix imports & checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikVoigt committed Jan 19, 2021
1 parent bd61075 commit d40f640
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ default void supportsAuthorSearch() throws Exception {
StringJoiner queryBuilder = new StringJoiner("\" AND author:\"", "author:\"", "\"");
getTestAuthors().forEach(queryBuilder::add);


List<BibEntry> result = getFetcher().performSearch(queryBuilder.toString());
new ImportCleanup(BibDatabaseMode.BIBTEX).doPostCleanup(result);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public String getAuthorPrefix() {

@Override
public String getUnFieldedPrefix() {
return ""; }
return "";
}

@Override
public String getJournalPrefix() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import static org.junit.jupiter.api.Assertions.assertEquals;

class GVKQueryTransformerTest implements InfixTransformerTest{
class GVKQueryTransformerTest implements InfixTransformerTest {

@Override
public AbstractQueryTransformer getTransformator() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import static org.junit.jupiter.api.Assertions.assertEquals;

class IEEEQueryTransformerTest implements InfixTransformerTest{
class IEEEQueryTransformerTest implements InfixTransformerTest {

@Override
public AbstractQueryTransformer getTransformator() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public void convertYearField() throws Exception {
QueryNode luceneQuery = new StandardSyntaxParser().parse(queryString, AbstractQueryTransformer.NO_EXPLICIT_FIELD);
transformer.transformLuceneQuery(luceneQuery);


assertEquals(2021, transformer.getStartYear());
assertEquals(2021, transformer.getEndYear());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import static org.junit.jupiter.api.Assertions.assertEquals;

class ZbMathQueryTransformerTest implements InfixTransformerTest{
class ZbMathQueryTransformerTest implements InfixTransformerTest {

@Override
public AbstractQueryTransformer getTransformator() {
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/jabref/model/entry/CrossrefTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.jabref.model.entry.types.StandardEntryType;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.EnumSource;
Expand Down

0 comments on commit d40f640

Please sign in to comment.