Skip to content

Commit

Permalink
core: Model.java: Fixes two deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui authored and afs committed Jan 22, 2025
1 parent 770ad74 commit b66f656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jena-core/src/main/java/org/apache/jena/rdf/model/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -596,12 +596,12 @@ update interface (which means turning them into triples in one form or
*/
public Model write( OutputStream out, String lang, String base );

/** @deprecated Use RIOT via {@code org.apache.jena.riotRDFDataMgr} or call {@link Model#read}. */
/** @deprecated Use RIOT via {@code org.apache.jena.riot.RDFDataMgr} or call {@link Model#read}. */
@Override
@Deprecated
public RDFReaderI getReader(String lang);

/** @deprecated Use RIOT via {@code org.apache.jena.riotRDFDataMgr} or call {@link Model#write}. */
/** @deprecated Use RIOT via {@code org.apache.jena.riot.RDFDataMgr} or call {@link Model#write}. */
@Override
@Deprecated
public RDFWriterI getWriter(String lang);
Expand Down

0 comments on commit b66f656

Please sign in to comment.