fix deprecated call
This commit is contained in:
parent
eb3a89ddfa
commit
e300ba9b2c
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ public class JsonSaxAdapter {
|
|||
|
||||
@Override
|
||||
public String getPublicId() {
|
||||
Object sourceRef = jsonParser.getCurrentLocation().getSourceRef();
|
||||
Object sourceRef = jsonParser.getCurrentLocation().contentReference().getRawContent();
|
||||
if (sourceRef != null) {
|
||||
return sourceRef.toString();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue