Skip to content

Commit

Permalink
REFACTORING FIX #132 (03/02/2017):
Browse files Browse the repository at this point in the history
	-for failure : give the Exception in other case and not a empty graph.
	-for success : removing the Rdf#graph to remove the warning
  • Loading branch information
Sébastien LEMOINE committed Feb 6, 2017
1 parent b563d27 commit ba29357
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ trait RDFCacheAlgo[Rdf <: RDF, DATASET] extends RDFStoreLocalProvider[Rdf, DATAS
microdataLoader.load(
new java.net.URL(uri.toString()))
match {
case Success(s : Rdf#Graph) => s
case Success(s) => s
case Failure(f) =>{

println("START MESSAGE")
Expand All @@ -283,7 +283,7 @@ trait RDFCacheAlgo[Rdf <: RDF, DATASET] extends RDFStoreLocalProvider[Rdf, DATAS
val newGraphWithUrl : Rdf#Graph = makeGraph(newTripleWithURL)
newGraphWithUrl
}
else emptyGraph
else throw f

}
}
Expand Down

0 comments on commit ba29357

Please sign in to comment.