Skip to content

Commit

Permalink
Memento vocabulary supports conneg
Browse files Browse the repository at this point in the history
  • Loading branch information
acoburn committed Jan 5, 2018
1 parent 62763f8 commit 27a9a63
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
*/
package org.trellisldp.vocabulary;

import static org.apache.jena.graph.Factory.createDefaultGraph;

import org.apache.jena.graph.Graph;
import org.apache.jena.riot.RDFParser;

/**
* Test the Memento Vocabulary Class
* @author acoburn
Expand All @@ -29,14 +24,6 @@ public String namespace() {
return "http://mementoweb.org/ns#";
}

@Override
protected Graph getVocabulary(final String url) {
final Graph graph = createDefaultGraph();
// TODO - once the Memento vocabulary supports conneg, this will be unnecessary
RDFParser.source("http://mementoweb.org/ns.jsonld").parse(graph);
return graph;
}

@Override
public Class vocabulary() {
return Memento.class;
Expand Down

0 comments on commit 27a9a63

Please sign in to comment.