cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject git commit: cleanup: unused var passed to non-public method
Date Sun, 02 Nov 2014 10:23:43 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 77bd5b7f3 -> f24b81b17


cleanup: unused var passed to non-public method


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/f24b81b1
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/f24b81b1
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/f24b81b1

Branch: refs/heads/master
Commit: f24b81b173669f19eb9e3854479d2552f9ccdb95
Parents: 77bd5b7
Author: aadamchik <aadamchik@apache.org>
Authored: Sun Nov 2 13:21:01 2014 +0300
Committer: aadamchik <aadamchik@apache.org>
Committed: Sun Nov 2 13:21:01 2014 +0300

----------------------------------------------------------------------
 .../org/apache/cayenne/access/jdbc/SQLTemplateProcessor.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/f24b81b1/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SQLTemplateProcessor.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SQLTemplateProcessor.java
b/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SQLTemplateProcessor.java
index 366e9a9..d5f487e 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SQLTemplateProcessor.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/access/jdbc/SQLTemplateProcessor.java
@@ -118,7 +118,7 @@ class SQLTemplateProcessor {
 		internalParameters.put(RESULT_COLUMNS_LIST_KEY, results);
 		internalParameters.put(HELPER_KEY, renderingUtils);
 
-		String sql = buildStatement(new VelocityContext(internalParameters), template, parameters);
+		String sql = buildStatement(new VelocityContext(internalParameters), template);
 
 		ParameterBinding[] bindingsArray = new ParameterBinding[bindings.size()];
 		bindings.toArray(bindingsArray);
@@ -129,7 +129,7 @@ class SQLTemplateProcessor {
 		return new SQLStatement(sql, resultsArray, bindingsArray);
 	}
 
-    String buildStatement(VelocityContext context, String template, Map<String, ?>
parameters)
+    String buildStatement(VelocityContext context, String template)
             throws Exception {
         // Note: this method is a reworked version of
         // org.apache.velocity.app.Velocity.evaluate(..)


Mime
View raw message