db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r507500 - in /db/derby/code/trunk/java/engine/org/apache/derby: iapi/sql/conn/LanguageConnectionContext.java impl/sql/conn/GenericLanguageConnectionContext.java
Date Wed, 14 Feb 2007 12:07:45 GMT
Author: kahatlen
Date: Wed Feb 14 04:07:44 2007
New Revision: 507500

URL: http://svn.apache.org/viewvc?view=rev&rev=507500
Log:
DERBY-2328 (partial) Removed unused method.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java?view=diff&rev=507500&r1=507499&r2=507500
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
Wed Feb 14 04:07:44 2007
@@ -904,17 +904,6 @@
 	  */
 	public	boolean	isTransactionPristine();
 
-    /**
-	  *	Get the lock handle for the current transaction.
-	  *
-	  *	@param	lockScope	SINGLE_TRANSACTION_LOCK or MULTI_TRANSACTION_LOCK
-	  *
-	  *	@return	the current lock handle
-	  *
-	  * @exception StandardException thrown if something goes wrong
-	  */
-	public	Object	getLockObject( int lockScope ) throws StandardException;
-
 	/**
 	  *	Get casing for delimited identifiers. This feature is here to
 	  *	support the Plugin.

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java?view=diff&rev=507500&r1=507499&r2=507500
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
Wed Feb 14 04:07:44 2007
@@ -2563,30 +2563,6 @@
 	}
 
     /**
-	  *	Get the lock handle for the current transaction.
-	  *
-	  *	@param	lockScope	SINGLE_TRANSACTION_LOCK or MULTI_TRANSACTION_LOCK
-	  *
-	  *	@return	the current lock handle
-	  *
-	  * @exception StandardException thrown if something goes wrong
-	  */
-	public	Object	getLockObject( int lockScope ) throws StandardException
-	{
-		switch( lockScope )
-		{
-		    case SINGLE_TRANSACTION_LOCK:
-				return getTransactionExecute().getLockObject();
-
-		    case MULTI_TRANSACTION_LOCK:
-				return new Object();
-
-		    default:
-				throw StandardException.newException(SQLState.NOT_IMPLEMENTED);
-		}
-	}
-
-    /**
      * Convert an identifier to the proper case for this connection. This method
      * is here to support the Plugin.
      *



Mime
View raw message