Skip to content

Commit

Permalink
too quick
Browse files Browse the repository at this point in the history
  • Loading branch information
kermitt2 committed Feb 4, 2024
1 parent 8b6a6e4 commit ac6944e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import org.grobid.core.GrobidModels;
import org.grobid.core.data.CopyrightsLicense.License;
import org.grobid.core.data.CopyrightsLicense.CopyrightsOwner;
import org.grobid.core.data.Date;
import org.grobid.core.data.*;
import org.grobid.core.document.xml.XmlBuilderUtils;
Expand Down Expand Up @@ -274,7 +275,7 @@ public StringBuilder toTEIHeader(BiblioItem biblio,
tei.append("\t\t\t\t<availability ");

boolean addCopyrightsComment = false;
if (copyrightsLicense.getCopyrightsOwner() != null && copyrightsLicense.getCopyrightsOwner() != License.UNDECIDED) {
if (copyrightsLicense.getCopyrightsOwner() != null && copyrightsLicense.getCopyrightsOwner() != CopyrightsOwner.UNDECIDED) {
tei.append("resp=\""+ copyrightsLicense.getCopyrightsOwner().getName() +"\" ");
addCopyrightsComment = true;
}
Expand Down

0 comments on commit ac6944e

Please sign in to comment.