Revision: 3363
Author: silva.josemanuel1
Date: Fri Mar  5 13:43:34 2010
Log: Added a do-nothing case for DiffType.MODIFIED when generating SQL script.
http://code.google.com/p/power-architect/source/detail?r=3363

Modified:
 /trunk/src/ca/sqlpower/architect/swingui/CompareDMFormatter.java

=======================================
--- /trunk/src/ca/sqlpower/architect/swingui/CompareDMFormatter.java Thu Feb 25 09:33:27 2010 +++ /trunk/src/ca/sqlpower/architect/swingui/CompareDMFormatter.java Fri Mar 5 13:43:34 2010
@@ -278,6 +278,8 @@
                 } else {
throw new IllegalStateException("DiffChunk is an unexpected type.");
                 }
+            } else if (chunk.getType() == DiffType.MODIFIED) {
+ // do nothing because it has not been modified enough (see next case)
             } else if (chunk.getType() == DiffType.SQL_MODIFIED) {
                 if (chunk.getData() instanceof SQLColumn) {
                     SQLColumn c = (SQLColumn) chunk.getData();

Reply via email to