Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
CLEREZZA-1063: Fix code documentation in jaxrs.rdf.providers
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasan committed May 19, 2022
1 parent 8601380 commit a140716
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

/**
* By default this returns a serialization of the context of the GraphNode.
* <p>
*
* The expansion can be widened by using the query parameters xPropObj and
* xProSubj. These parameters specify property uris (both parameters might be
* repeated). For the specified properties their objects respectively subjects
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
import java.util.List;

/**
* MessageBodyWirter for <code>ResultSet</code>. Resulting output is csv and
* MessageBodyWriter for <code>ResultSet</code>. Resulting output is csv and
* conforms to:
* http://www.w3.org/TR/2013/REC-sparql11-results-csv-tsv-20130321/#csv
* <p>
*
* Also see: http://tools.ietf.org/html/rfc4180
*
* @author misl
Expand Down Expand Up @@ -134,7 +134,7 @@ private void buildSeparatorConformEncoding(String encoding) throws UnsupportedEn
}

/**
* Write resultset header to the given output stream.
* Write result set header to the given output stream.
*
* @param outputStream stream to write to.
* @param headers the headers to write.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
import java.util.List;

/**
* MessageBodyWirter for <code>ResultSet</code>. Resulting output is tsv and
* MessageBodyWriter for <code>ResultSet</code>. Resulting output is tsv and
* conforms to:
* http://www.w3.org/TR/2013/REC-sparql11-results-csv-tsv-20130321/#tsv
* <p>
*
* Also see: http://www.iana.org/assignments/media-types/text/tab-separated-values
*
* @author misl
Expand Down Expand Up @@ -134,7 +134,7 @@ private void buildSeparatorConformEncoding(String encoding) throws UnsupportedEn
}

/**
* Write resultset header to the given output stream.
* Write result set header to the given output stream.
*
* @param outputStream stream to write to.
* @param headers the headers to write.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ public void setProviders(Providers providers) {
* {@link DOMSource}
*
* @param queryResult
* @param query
* @param applyStyle
*/
private Source toXmlSource(ResultSet queryResult) {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
Expand Down Expand Up @@ -131,7 +129,7 @@ private Source toXmlSource(ResultSet queryResult) {
}

/**
* Creates a WebApplicationexception and prints a logger entry
* Creates a WebApplicationException and prints a logger entry
*/
private WebApplicationException createWebApplicationException(Exception e) {
return new WebApplicationException(Response.status(Status.BAD_REQUEST)
Expand Down

0 comments on commit a140716

Please sign in to comment.