Revision: 6166
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=6166&view=rev
Author: manningr
Date: 2011-02-22 14:57:13 +0000 (Tue, 22 Feb 2011)
Log Message:
-----------
Fixed missing I18n string.
Modified Paths:
--------------
trunk/sql12/plugins/dbdiff/src/main/java/net/sourceforge/squirrel_sql/plugins/dbdiff/gui/TabularDiffPresentation.java
Modified: trunk/sql12/plugins/dbdiff/src/main/java/net/sourceforge/squirrel_sql/plugins/dbdiff/gui/TabularDiffPresentation.java
===================================================================
--- trunk/sql12/plugins/dbdiff/src/main/java/net/sourceforge/squirrel_sql/plugins/dbdiff/gui/TabularDiffPresentation.java 2011-02-22 14:56:32 UTC (rev 6165)
+++ trunk/sql12/plugins/dbdiff/src/main/java/net/sourceforge/squirrel_sql/plugins/dbdiff/gui/TabularDiffPresentation.java 2011-02-22 14:57:13 UTC (rev 6166)
@@ -31,7 +31,6 @@
import javax.swing.SwingUtilities;
import net.sourceforge.squirrel_sql.client.gui.mainframe.MainFrame;
-import net.sourceforge.squirrel_sql.client.session.ISession;
import net.sourceforge.squirrel_sql.fw.gui.GUIUtils;
import net.sourceforge.squirrel_sql.fw.sql.DatabaseObjectType;
import net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo;
@@ -60,16 +59,10 @@
static interface i18n
{
- // i18n[DiffExecutor.noDiffsMessage=No differences were detected]
- String NO_DIFFS_MESSAGE = s_stringMgr.getString("DiffExecutor.noDiffsMessage");
+ // i18n[TabularDiffPresentation.noDiffsMessage=No differences were detected]
+ String NO_DIFFS_MESSAGE = s_stringMgr.getString("TabularDiffPresentation.noDiffsMessage");
}
- /** the source session. This comes from prov */
- ISession sourceSession = null;
-
- /** the destination session. This comes from prov */
- ISession destSession = null;
-
/** the thread we do the work in */
private Thread execThread = null;
@@ -152,18 +145,28 @@
colDifferences.addAll(columnDiffs);
for (final ColumnDifference colDiff : columnDiffs)
{
- System.out.println(colDiff.toString());
+ if (s_log.isDebugEnabled()) {
+ s_log.debug(colDiff.toString());
+ }
}
}
}
else
{
// table exists in source db but not dest
+ if (s_log.isInfoEnabled()) {
+ s_log.info("Skipping Table ("+table+") that exists in database ("+sourceSession+
+ "), but not in the database ("+destSession+")");
+ }
}
}
else
{
// table doesn't exist in source db
+ if (s_log.isInfoEnabled()) {
+ s_log.info("Skipping Table ("+table+") that exists in database ("+destSession+
+ "), but not in the database ("+sourceSession+")");
+ }
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|