svn commit: r925302 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntityChecker.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r925302 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntityChecker.java

erwan
Author: erwan
Date: Fri Mar 19 16:17:35 2010
New Revision: 925302

URL: http://svn.apache.org/viewvc?rev=925302&view=rev
Log:
Correcting warning message on too long foreign keys

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntityChecker.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntityChecker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntityChecker.java?rev=925302&r1=925301&r2=925302&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntityChecker.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelEntityChecker.java Fri Mar 19 16:17:35 2010
@@ -194,7 +194,8 @@ public class ModelEntityChecker {
 
                         // make sure all FK names are <= 18 characters
                         if (relation.getFkName().length() > 18) {
-                            warningList.add("[RelFKNameGT18] The foregn key name (length:" + relation.getFkName().length()
+                            warningList.add("[RelFKNameGT18] The foreign key named " + relation.getFkName()
+                                            + " (length:" + relation.getFkName().length()
                                             + ") was greater than 18 characters in length for relation " + relation.getTitle() + relation.getRelEntityName()
                                             + " of entity " + entity.getEntityName() + ".");
                         }