Revision: 3603
Author: [email protected]
Date: Fri Jun 11 11:56:50 2010
Log: Changed the quick fix description of physical name changes to show what the critic will do.
http://code.google.com/p/power-architect/source/detail?r=3603

Modified:
/trunk/src/main/java/ca/sqlpower/architect/ddl/critic/impl/PhysicalNameCritic.java

=======================================
--- /trunk/src/main/java/ca/sqlpower/architect/ddl/critic/impl/PhysicalNameCritic.java Fri Jun 11 11:40:10 2010 +++ /trunk/src/main/java/ca/sqlpower/architect/ddl/critic/impl/PhysicalNameCritic.java Fri Jun 11 11:56:50 2010
@@ -83,7 +83,7 @@
                     so,
                     "Physical name too long for " + getPlatformName(),
                     this,
- new QuickFix("Truncate name to " + getMaxNameLength() + " characters") { + new QuickFix("Truncate name to " + so.getPhysicalName().substring(0, getMaxNameLength())) {
                         public void apply() {
if (so.getPhysicalName() != null && so.getPhysicalName().length() > getMaxNameLength()) { so.setPhysicalName(so.getPhysicalName().substring(0, getMaxNameLength()));

Reply via email to