[tracker/sparql-refactor: 8/16] SPARQL: Drop unused code



commit d1e4a1a572f564be1019877527879a310b0b1bbf
Author: Jürg Billeter <j bitron ch>
Date:   Mon Mar 29 17:33:23 2010 +0200

    SPARQL: Drop unused code

 src/libtracker-data/tracker-sparql-expression.vala |   12 ------------
 src/libtracker-data/tracker-sparql-pattern.vala    |    8 --------
 src/libtracker-data/tracker-sparql-query.vala      |    1 -
 3 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-expression.vala b/src/libtracker-data/tracker-sparql-expression.vala
index 58be8eb..0f83f0d 100644
--- a/src/libtracker-data/tracker-sparql-expression.vala
+++ b/src/libtracker-data/tracker-sparql-expression.vala
@@ -58,22 +58,10 @@ class Tracker.Sparql.Expression : Object {
 		return query.get_error (msg);
 	}
 
-	SparqlError get_internal_error (string msg) {
-		return query.get_internal_error (msg);
-	}
-
 	bool expect (SparqlTokenType type) throws SparqlError {
 		return query.expect (type);
 	}
 
-	SourceLocation get_location () {
-		return query.get_location ();
-	}
-
-	void set_location (SourceLocation location) {
-		query.set_location (location);
-	}
-
 	string get_last_string (int strip = 0) {
 		return query.get_last_string (strip);
 	}
diff --git a/src/libtracker-data/tracker-sparql-pattern.vala b/src/libtracker-data/tracker-sparql-pattern.vala
index 458f874..269fb19 100644
--- a/src/libtracker-data/tracker-sparql-pattern.vala
+++ b/src/libtracker-data/tracker-sparql-pattern.vala
@@ -174,10 +174,6 @@ class Tracker.Sparql.Pattern : Object {
 		return query.current ();
 	}
 
-	inline SparqlTokenType last () {
-		return query.last ();
-	}
-
 	inline bool accept (SparqlTokenType type) throws SparqlError {
 		return query.accept (type);
 	}
@@ -186,10 +182,6 @@ class Tracker.Sparql.Pattern : Object {
 		return query.get_error (msg);
 	}
 
-	SparqlError get_internal_error (string msg) {
-		return query.get_internal_error (msg);
-	}
-
 	bool expect (SparqlTokenType type) throws SparqlError {
 		return query.expect (type);
 	}
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index fccb39d..ef688aa 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -194,7 +194,6 @@ public class Tracker.Sparql.Query : Object {
 	internal Pattern pattern;
 
 	string current_graph;
-	bool current_graph_is_var;
 	string current_subject;
 	bool current_subject_is_var;
 	string current_predicate;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]