db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r616908 - in /db/derby/code/trunk/java/engine/org/apache/derby: catalog/types/TypeDescriptorImpl.java iapi/types/DataTypeDescriptor.java
Date Wed, 30 Jan 2008 21:13:06 GMT
Author: djd
Date: Wed Jan 30 13:13:05 2008
New Revision: 616908

URL: http://svn.apache.org/viewvc?rev=616908&view=rev
Log:
DERBY-2775 Remove setNullability methods on TypeDescriptorImpl and DataTypeDescriptor to make
the types actually immutable wrt nullability.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/catalog/types/TypeDescriptorImpl.java
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/catalog/types/TypeDescriptorImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/catalog/types/TypeDescriptorImpl.java?rev=616908&r1=616907&r2=616908&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/catalog/types/TypeDescriptorImpl.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/catalog/types/TypeDescriptorImpl.java
Wed Jan 30 13:13:05 2008
@@ -394,17 +394,6 @@
 	}
 
 	/**
-	 * Set the nullability of the datatype described by this descriptor
-	 *
-	 * @param nullable	TRUE means set nullability to TRUE, FALSE
-	 *					means set it to FALSE
-	 */
-	public void setNullability(boolean nullable)
-	{
-		isNullable = nullable;
-	}
-
-	/**
 	* @see TypeDescriptor#isRowMultiSet
 	 */
 	public	boolean isRowMultiSet()

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java?rev=616908&r1=616907&r2=616908&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java Wed
Jan 30 13:13:05 2008
@@ -1118,17 +1118,6 @@
 	{
 		return typeDescriptor.isNullable();
 	}
-
-	/**
-	 * Set the nullability of the datatype described by this descriptor
-	 *
-	 * @param nullable	TRUE means set nullability to TRUE, FALSE
-	 *			means set it to FALSE
-	 */
-	public void	setNullability(boolean nullable)
-	{
-		typeDescriptor.setNullability(nullable);
-	}
     
     /**
      * Return a type descriptor identical to the this type



Mime
View raw message