db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r366862 - in /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile: JavaValueNode.java MethodCallNode.java QueryTreeNodeVector.java
Date Sat, 07 Jan 2006 17:43:15 GMT
Author: djd
Date: Sat Jan  7 09:43:09 2006
New Revision: 366862

URL: http://svn.apache.org/viewcvs?rev=366862&view=rev
Log:
Minor cleanup of public members in MethodCallNode, JavaValueNode and QueryTreeNodeVector.

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

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JavaValueNode.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JavaValueNode.java?rev=366862&r1=366861&r2=366862&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JavaValueNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JavaValueNode.java Sat
Jan  7 09:43:09 2006
@@ -60,12 +60,11 @@
  * This abstract node class represents a data value in the Java domain.
  */
 
-public abstract class JavaValueNode extends QueryTreeNode
+abstract class JavaValueNode extends QueryTreeNode
 {
 	private boolean	mustCastToPrimitive;
 
 	protected boolean forCallStatement;
-	private int clause = ValueNode.IN_UNKNOWN_CLAUSE;
 	private boolean valueReturnedToSQLDomain;
 	private boolean returnValueDiscarded;
 

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/MethodCallNode.java?rev=366862&r1=366861&r2=366862&view=diff
==============================================================================
--- 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
Sat Jan  7 09:43:09 2006
@@ -66,18 +66,18 @@
  * @author Jeff Lichtman
  */
 
-public abstract class MethodCallNode extends JavaValueNode
+abstract class MethodCallNode extends JavaValueNode
 {
 	/*
 	** Name of the method.
 	*/
-	protected String	methodName;
+	 String	methodName;
 
     /** The name of the class containing the method. May not be known until bindExpression()
has been called.
      * @see #bindExpression
      * @see #getJavaClassName()
      */
-    protected String javaClassName;
+    String javaClassName;
 	
 	/**
 		For a procedure or function call

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNodeVector.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNodeVector.java?rev=366862&r1=366861&r2=366862&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNodeVector.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNodeVector.java
Sat Jan  7 09:43:09 2006
@@ -46,12 +46,12 @@
 		return v.size();
 	}
 
-	public QueryTreeNode elementAt(int index)
+	QueryTreeNode elementAt(int index)
 	{
 		return (QueryTreeNode) v.elementAt(index);
 	}
 
-	public final void addElement(QueryTreeNode qt)
+	final void addElement(QueryTreeNode qt)
 	{
 		v.addElement(qt);
 	}
@@ -81,13 +81,13 @@
 		v.setElementAt(qt, index);
 	}
 
-	public void destructiveAppend(QueryTreeNodeVector qtnv)
+	void destructiveAppend(QueryTreeNodeVector qtnv)
 	{
 		nondestructiveAppend(qtnv);
 		qtnv.removeAllElements();
 	}
 
-	public void nondestructiveAppend(QueryTreeNodeVector qtnv)
+	void nondestructiveAppend(QueryTreeNodeVector qtnv)
 	{
 		int qtnvSize = qtnv.size();
 		for (int index = 0; index < qtnvSize; index++)



Mime
View raw message