Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
take out problematic debug logging that assumes non-null graph subjec…
…t; send Accept header in nodeTypes IT
  • Loading branch information
barmintor committed Nov 15, 2013
1 parent 3840478 commit 33056e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Expand Up @@ -44,6 +44,7 @@ public class FedoraNodeTypesIT extends AbstractResourceIT {
public void itShouldContainFcrepoClasses() throws IOException {

final HttpGet httpGet = new HttpGet(serverAddress + "/fcr:nodetypes");
httpGet.setHeader(HttpHeaders.ACCEPT, RDFMediaType.N3_TEXT);

final HttpResponse result = client.execute(httpGet);

Expand Down
Expand Up @@ -81,9 +81,6 @@ public static Node getDatasetSubject(final Dataset rdf) {
if (uri != null) {
return createURI(uri);
} else {
java.io.StringWriter sw = new java.io.StringWriter();
rdf.getDefaultModel().write(sw);
logger.warn("null uri from context: {}", sw.toString());
return null;
}
}
Expand Down

0 comments on commit 33056e8

Please sign in to comment.