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



commit a1507e5e299d83182dee7c7d0e28c60c9dc96123
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]