Skip to Content.
Sympa Menu

notify-dpml - r1028 - trunk/main/metro/tools/src/main/net/dpml/metro/tools

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1028 - trunk/main/metro/tools/src/main/net/dpml/metro/tools
  • Date: Sat, 4 Feb 2006 20:49:34 +0100

Author: mcconnell
Date: 2006-02-04 20:49:26 +0100 (Sat, 04 Feb 2006)
New Revision: 1028

Modified:
trunk/main/metro/tools/src/main/net/dpml/metro/tools/ArrayDataType.java
Log:
fix issue concerning default classname

Modified:
trunk/main/metro/tools/src/main/net/dpml/metro/tools/ArrayDataType.java
===================================================================
--- trunk/main/metro/tools/src/main/net/dpml/metro/tools/ArrayDataType.java
2006-02-04 19:41:12 UTC (rev 1027)
+++ trunk/main/metro/tools/src/main/net/dpml/metro/tools/ArrayDataType.java
2006-02-04 19:49:26 UTC (rev 1028)
@@ -89,19 +89,20 @@

/**
* Build a value datastructure.
+ * @param classname the default classname
* @return the serializable value descriptor
*/
public Value buildValue( String classname )
{
+ String name = getClassname( classname );
ValueBuilder[] params = getValueBuilders();
Value[] values = new Value[ params.length ];
for( int i=0; i<values.length; i++ )
{
ValueBuilder p = params[i];
- values[i] = p.buildValue( classname );
+ values[i] = p.buildValue( name );
}
- String cname = getClassname( classname );
- return new Array( cname, values );
+ return new Array( name, values );
}

String getClassname( String fallback )




  • r1028 - trunk/main/metro/tools/src/main/net/dpml/metro/tools, mcconnell at BerliOS, 02/04/2006

Archive powered by MHonArc 2.6.24.

Top of Page