Skip to content

Commit

Permalink
Fix getisMappedToStandardType on GFSENonStandard
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Jan 29, 2024
1 parent 6ffd4f6 commit c7645b6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
import org.verapdf.model.selayer.SENonStandard;
import org.verapdf.pd.structure.PDStructElem;

import java.util.Objects;

public class GFSENonStandard extends GFPDStructElem implements SENonStandard {

public static final String NON_STANDARD_STRUCTURE_ELEMENT_TYPE = "SENonStandard";
Expand All @@ -34,6 +36,6 @@ public GFSENonStandard(PDStructElem structElemDictionary, String standardType) {

@Override
public Boolean getisNotMappedToStandardType() {
return getremappedStandardType() == null && !getcircularMappingExist();
return getremappedStandardType() == null && !Objects.equals(getcircularMappingExist(), true);
}
}

0 comments on commit c7645b6

Please sign in to comment.