You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2007/04/23 20:40:22 UTC

svn commit: r531558 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java

Author: djd
Date: Mon Apr 23 11:40:21 2007
New Revision: 531558

URL: http://svn.apache.org/viewvc?view=rev&rev=531558
Log:
Minor cleanup in MethodCallNode, remove two unused methods and change a static method call to correctly use the class name.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java?view=diff&rev=531558&r1=531557&r2=531558
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java Mon Apr 23 11:40:21 2007
@@ -110,17 +110,6 @@
 	protected String actualMethodReturnType;
 
 	/**
-	  *	Gets the signature of JSQLTypes needed to propagate a work unit from
-	  *	target to source.
-	  *
-	  *	@return	the JSQLType signature
-	  */
-	public	JSQLType[]	getSignature()
-	{
-		return	signature;
-	}
-
-	/**
 		The parameter types for the resolved method.
 	*/
 	String[] methodParameterTypes;
@@ -150,19 +139,6 @@
     }
 
 	/**
-	 * Add the parameter list.
-	 * (This flavor is useful when transforming a non-static method call node
-	 * to a static method call node.)
-	 *
-	 * @param methodParms		JavaValueNode[]
-	 */
-
-	public void addParms(JavaValueNode[] methodParms)
-	{
-		this.methodParms = methodParms;
-	}
-
-	/**
 	 * Add the parameter list
 	 *
 	 * @param parameterList		A Vector of the parameters
@@ -510,7 +486,7 @@
 				// casts are only required for primitive types.
 				// In any other case the expression type must be assignable
 				// to the parameter type.
-				if (classInspector.primitiveType(parameterType)) {
+				if (ClassInspector.primitiveType(parameterType)) {
 					mb.cast(parameterType);
 				} else {