You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by tr...@apache.org on 2005/04/28 18:50:38 UTC

svn commit: r165164 - /incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/nodetype/PredefinedNodeTypeTest.java

Author: tripod
Date: Thu Apr 28 09:50:37 2005
New Revision: 165164

URL: http://svn.apache.org/viewcvs?rev=165164&view=rev
Log:
- fixing nodetype test

Modified:
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/nodetype/PredefinedNodeTypeTest.java

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/nodetype/PredefinedNodeTypeTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/nodetype/PredefinedNodeTypeTest.java?rev=165164&r1=165163&r2=165164&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/nodetype/PredefinedNodeTypeTest.java (original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/nodetype/PredefinedNodeTypeTest.java Thu Apr 28 09:50:37 2005
@@ -338,8 +338,11 @@
         writer.println("  RequiredType " + type.toUpperCase());
         writer.print("  ValueConstraints [");
         String[] constraints = property.getValueConstraints();
+        String delim = "";
         for (int i = 0; i < constraints.length; i++) {
+            writer.print(delim);
             writer.print(constraints[i]);
+            delim=",";
         }
         writer.println("]");
         Value[] values = property.getDefaultValues();