fix deprecated call

This commit is contained in:
Jörg Prante 2022-08-05 14:28:55 +02:00
parent eb3a89ddfa
commit e300ba9b2c

View file

@ -177,7 +177,7 @@ public class JsonSaxAdapter {
@Override @Override
public String getPublicId() { public String getPublicId() {
Object sourceRef = jsonParser.getCurrentLocation().getSourceRef(); Object sourceRef = jsonParser.getCurrentLocation().contentReference().getRawContent();
if (sourceRef != null) { if (sourceRef != null) {
return sourceRef.toString(); return sourceRef.toString();
} else { } else {