Skip to content

Commit f1d5900

Browse files
committed
Improve Javadoc
1 parent 282dd29 commit f1d5900

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jena/src/main/java/com/inrupt/client/jena/JenaBodyHandlers.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private static Model responseToModel(final Response.ResponseInfo responseInfo) {
6363
* Populate a Jena {@link Model} with an HTTP response body.
6464
*
6565
* @return an HTTP body handler
66-
* @deprecated Use ofJenaModel instead for consistent HTTP error handling.
66+
* @deprecated Use {@link JenaBodyHandlers#ofJenaModel()} instead for consistent HTTP error handling.
6767
*/
6868
public static Response.BodyHandler<Model> ofModel() {
6969
return JenaBodyHandlers::responseToModel;
@@ -100,7 +100,7 @@ private static Graph responseToGraph(final Response.ResponseInfo responseInfo) {
100100
* Populate a Jena {@link Graph} with an HTTP response.
101101
*
102102
* @return an HTTP body handler
103-
* @deprecated Use ofJenaGraph instead for consistent HTTP error handling.
103+
* @deprecated Use {@link JenaBodyHandlers#ofJenaGraph} instead for consistent HTTP error handling.
104104
*/
105105
public static Response.BodyHandler<Graph> ofGraph() {
106106
return JenaBodyHandlers::responseToGraph;
@@ -137,7 +137,7 @@ private static Dataset responseToDataset(final Response.ResponseInfo responseInf
137137
* Populate a Jena {@link Dataset} with an HTTP response.
138138
*
139139
* @return an HTTP body handler
140-
* @deprecated Use ofJenaDataset instead for consistent HTTP error handling.
140+
* @deprecated Use {@link JenaBodyHandlers#ofJenaDataset} instead for consistent HTTP error handling.
141141
*/
142142
public static Response.BodyHandler<Dataset> ofDataset() {
143143
return JenaBodyHandlers::responseToDataset;

0 commit comments

Comments
 (0)