labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r747437 - /labs/magma/branches/0.0.1/foundation-database/src/main/java/org/apache/magma/database/DatabaseConverter.java
Date Tue, 24 Feb 2009 17:05:16 GMT
Author: simoneg
Date: Tue Feb 24 17:05:13 2009
New Revision: 747437

URL: http://svn.apache.org/viewvc?rev=747437&view=rev
Log:
LABS-283 : loop in db converter, ported back to 0.0.1

Modified:
    labs/magma/branches/0.0.1/foundation-database/src/main/java/org/apache/magma/database/DatabaseConverter.java

Modified: labs/magma/branches/0.0.1/foundation-database/src/main/java/org/apache/magma/database/DatabaseConverter.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.1/foundation-database/src/main/java/org/apache/magma/database/DatabaseConverter.java?rev=747437&r1=747436&r2=747437&view=diff
==============================================================================
--- labs/magma/branches/0.0.1/foundation-database/src/main/java/org/apache/magma/database/DatabaseConverter.java
(original)
+++ labs/magma/branches/0.0.1/foundation-database/src/main/java/org/apache/magma/database/DatabaseConverter.java
Tue Feb 24 17:05:13 2009
@@ -61,8 +61,10 @@
 	}
 
 	public int getMaximumStringSize() {
-		DatabaseIdentity id = BeanData.getFor(myclass).getDatabaseIdentity();
-		return id.getSubconverter().getMaximumStringSize();
+		return -1;
+		// Commented out cause causes endless loop, this method is called during BeanData creation
+		//DatabaseIdentity id = BeanData.getFor(myclass).getDatabaseIdentity();
+		//return id.getSubconverter().getMaximumStringSize();
 	}
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message