~ cleaning
authorEric Prud'hommeaux <bertails@w3.org>
Mon, 28 Dec 2009 15:47:21 -0500
changeset 80 b15b4290f0fb
parent 79 f093e64b186f
child 81 2220e911b326
~ cleaning
src/main/scala/SPARQL.scala
--- a/src/main/scala/SPARQL.scala	Mon Dec 28 15:45:56 2009 -0500
+++ b/src/main/scala/SPARQL.scala	Mon Dec 28 15:47:21 2009 -0500
@@ -92,8 +92,6 @@
     "{" ~ opt(triplesblock) ~ rep(graphpatternnottriplesORfilter ~ opt(triplesblock)) ~ "}" ^^
     {
       case "{"~tbOPT~gpntORf_tbOPT~"}" => {
-	val l:Option[GraphPattern] = tbOPT
-	val r:List[~[GraphPattern,Option[TriplesBlock]]] = gpntORf_tbOPT
 	var init = tbOPT match {
 	  case Some(x) => x
 	  case _ => EmptyGraphPattern()
@@ -102,17 +100,6 @@
 	  case ~(TableFilter(null, expr), None) => TableFilter(gp, expr)
 	  case x => error("found " + x)
 	})
-	// (tbOPT, gpntORf_tbOPT) match {
-	//   case (Some(tb1), list) => {
-	//     var gp = tb1
-	//     if (list.size == 0)
-	//       x
-	//     else {
-	//       println("ignoring " + list)
-	//       TableConjunction(List[GraphPattern](x))
-	//     }
-	//   }
-	// }
       }
     }
   )