Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CLEREZZA-1063: Fix code documentation in jaxrs.rdf.providers
  • Loading branch information
Hasan committed May 19, 2022
1 parent 8601380 commit a14071609b751843277e8d0dcc0fb52230a98712
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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.
@@ -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();
@@ -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)

0 comments on commit a140716

Please sign in to comment.