Skip to content

Commit

Permalink
Use String(Util)s from Log4J and not from Apache Commons Lang
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Mar 11, 2016
1 parent 5c68c36 commit cae4ab8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
import net.sf.jabref.model.entry.BibtexEntryTypes;
import net.sf.jabref.model.entry.EntryType;

import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.logging.log4j.util.Strings;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.util.PDFTextStripper;

Expand Down Expand Up @@ -446,7 +446,7 @@ public void addEntry(BibEntry entry) {
if (abstractT != null) {
entry.setField("abstract", abstractT);
}
if (StringUtils.isNotEmpty(keywords)) {
if (Strings.isNotEmpty(keywords)) {
entry.setField("keywords", keywords);
}
if (title != null) {
Expand Down

0 comments on commit cae4ab8

Please sign in to comment.