Revision: 6638
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=6638&view=rev
Author: gerdwagner
Date: 2012-06-26 21:24:31 +0000 (Tue, 26 Jun 2012)
Log Message:
-----------
Fixed compile bug occurred during the SQL format config project
Modified Paths:
--------------
trunk/sql12/plugins/h2/src/main/java/net/sourceforge/squirrel_sql/plugins/h2/H2Plugin.java
trunk/sql12/plugins/informix/src/main/java/net/sourceforge/squirrel_sql/plugins/informix/tab/InformixSourceTab.java
trunk/sql12/plugins/netezza/src/main/java/net/sourceforge/squirrel_sql/plugins/netezza/tab/NetezzaProcedureFormator.java
trunk/sql12/plugins/netezza/src/main/java/net/sourceforge/squirrel_sql/plugins/netezza/tab/ProcedureSourceTab.java
Added Paths:
-----------
trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/util/
trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/util/codereformat/
trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/util/codereformat/CodeReformatorTest.java
trunk/sql12/plugins/h2/src/main/java/net/sourceforge/squirrel_sql/plugins/h2/tab/ViewSourceTab.java
Removed Paths:
-------------
trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/tabs/ViewSourceTabTest.java
trunk/sql12/fw/src/test/java/net/sourceforge/squirrel_sql/fw/codereformat/CodeReformatorTest.java
Deleted: trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/tabs/ViewSourceTabTest.java
===================================================================
--- trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/tabs/ViewSourceTabTest.java 2012-06-19 20:31:02 UTC (rev 6637)
+++ trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/tabs/ViewSourceTabTest.java 2012-06-26 21:24:31 UTC (rev 6638)
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2008 Rob Manning
- * man...@us...
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-package net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs;
-
-
-import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.ViewSourceTab;
-
-import org.junit.Before;
-
-public class ViewSourceTabTest extends AbstractSourceTabTest {
-
- @Before
- public void setUp() throws Exception {
- classUnderTest = new ViewSourceTab(HINT, STMT_SEP);
- }
-
-}
Copied: trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/util/codereformat/CodeReformatorTest.java (from rev 6628, trunk/sql12/fw/src/test/java/net/sourceforge/squirrel_sql/fw/codereformat/CodeReformatorTest.java)
===================================================================
--- trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/util/codereformat/CodeReformatorTest.java (rev 0)
+++ trunk/sql12/app/src/test/java/net/sourceforge/squirrel_sql/client/util/codereformat/CodeReformatorTest.java 2012-06-26 21:24:31 UTC (rev 6638)
@@ -0,0 +1,131 @@
+package net.sourceforge.squirrel_sql.client.util.codereformat;
+/*
+ * Copyright (C) 2007 Rob Manning
+ * man...@us...
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.ANSI_SQL_92_PROCEDURE;
+import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.ANSI_SQL_92_PROCEDURE_READABLE;
+import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_COURSES;
+import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_PROFESSOR;
+import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_STUDENT;
+import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_TAKE;
+import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_TEACH;
+import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.ANON_PROC_EXEC;
+import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.CREATE_FUNCTION_SQL;
+import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.CREATE_OR_REPLACE_STORED_PROC;
+import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.CREATE_STORED_PROC;
+import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.NO_SEP_SLASH_SQL;
+import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.SELECT_DUAL;
+import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.SELECT_DUAL_2;
+import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.UPDATE_TEST;
+import net.sourceforge.squirrel_sql.BaseSQuirreLTestCase;
+import net.sourceforge.squirrel_sql.fw.sql.DB2SQL;
+import net.sourceforge.squirrel_sql.fw.sql.GenericSQL;
+import net.sourceforge.squirrel_sql.fw.sql.OracleSQL;
+
+public class CodeReformatorTest extends BaseSQuirreLTestCase {
+
+ CodeReformator c = null;
+
+ private static CommentSpec[] COMMENT_SPECS =
+ new CommentSpec[]
+ {
+ new CommentSpec("/*", "*/"),
+ new CommentSpec("--", "\n")
+ };
+
+ protected void setUp() throws Exception {
+ super.setUp();
+
+ c = new CodeReformator(CodeReformatorConfigFactory.createConfig(";", COMMENT_SPECS));
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+
+ c = null;
+ }
+
+ /**
+ * Just try to run as much SQL as possible through the reformator to check
+ * that we don't ever throw an IllegalArgumentException - meaning that the
+ * code reformator failed to produce equivalent SQL.
+ */
+ public void testReformat() {
+ CodeReformator c = new CodeReformator(CodeReformatorConfigFactory.createConfig(";", COMMENT_SPECS));
+ // We know this fails - Bug# 1700093
+ c.reformat(DB2SQL.insertSubSelectSQL);
+
+ // Generic SQL
+ c.reformat(CREATE_STUDENT);
+ c.reformat(CREATE_COURSES);
+ c.reformat(CREATE_PROFESSOR);
+ c.reformat(CREATE_TAKE);
+ c.reformat(CREATE_TEACH);
+ c.reformat(GenericSQL.STUDENTS_NOT_TAKING_CS112);
+ c.reformat(ANSI_SQL_92_PROCEDURE);
+ c.reformat(ANSI_SQL_92_PROCEDURE_READABLE);
+ c.reformat(SELECT_DUAL);
+
+ // Oracle SQL
+ c.reformat(SELECT_DUAL);
+ c.reformat(SELECT_DUAL_2);
+ c.reformat(CREATE_STORED_PROC);
+ c.reformat(CREATE_OR_REPLACE_STORED_PROC);
+ c.reformat(ANON_PROC_EXEC);
+ c.reformat(UPDATE_TEST);
+ c.reformat(OracleSQL.STUDENTS_NOT_TAKING_CS112);
+ c.reformat(NO_SEP_SLASH_SQL);
+ c.reformat(CREATE_FUNCTION_SQL);
+
+ }
+
+ public void testReformatSemiColonStatementSeparator() {
+ c = new CodeReformator(CodeReformatorConfigFactory.createConfig(";", COMMENT_SPECS));
+
+ String pipeSql = "CREATE TABLE BIGINT_VIEW ( BIGINT_COLUMN bigint ); ";
+
+ c.reformat(pipeSql);
+ }
+
+ public void testReformatPipeStatementSeparator() {
+ c = new CodeReformator(CodeReformatorConfigFactory.createConfig("|", COMMENT_SPECS));
+
+ String pipeSql = "CREATE TABLE BIGINT_VIEW ( BIGINT_COLUMN bigint )| ";
+
+ c.reformat(pipeSql);
+
+ String pipeSql2 =
+ "CREATE TABLE BIGINT_TYPE_TABLE \n" +
+ "( \n" +
+ " ID int PRIMARY KEY NOT NULL, \n" +
+ " NAME varchar(30) NOT NULL, \n" +
+ " BIGINT_COLUMN bigint, \n" +
+ " DESCRIPTION varchar(100), \n" +
+ " CREATE_DATE date NOT NULL, \n" +
+ " LAST_MODIFIED date NOT NULL \n" +
+ ")| \n" +
+ " \n" +
+ "CREATE UNIQUE INDEX PK_BIGINT ON BIGINT_TYPE_TABLE(ID)| \n" +
+ " \n" +
+ "CREATE UNIQUE INDEX BIGINT_NAME_IDX ON BIGINT_TYPE_TABLE(NAME)| \n";
+
+ c.reformat(pipeSql2);
+ }
+
+
+}
Deleted: trunk/sql12/fw/src/test/java/net/sourceforge/squirrel_sql/fw/codereformat/CodeReformatorTest.java
===================================================================
--- trunk/sql12/fw/src/test/java/net/sourceforge/squirrel_sql/fw/codereformat/CodeReformatorTest.java 2012-06-19 20:31:02 UTC (rev 6637)
+++ trunk/sql12/fw/src/test/java/net/sourceforge/squirrel_sql/fw/codereformat/CodeReformatorTest.java 2012-06-26 21:24:31 UTC (rev 6638)
@@ -1,131 +0,0 @@
-package net.sourceforge.squirrel_sql.fw.codereformat;
-/*
- * Copyright (C) 2007 Rob Manning
- * man...@us...
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.ANSI_SQL_92_PROCEDURE;
-import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.ANSI_SQL_92_PROCEDURE_READABLE;
-import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_COURSES;
-import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_PROFESSOR;
-import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_STUDENT;
-import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_TAKE;
-import static net.sourceforge.squirrel_sql.fw.sql.GenericSQL.CREATE_TEACH;
-import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.ANON_PROC_EXEC;
-import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.CREATE_FUNCTION_SQL;
-import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.CREATE_OR_REPLACE_STORED_PROC;
-import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.CREATE_STORED_PROC;
-import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.NO_SEP_SLASH_SQL;
-import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.SELECT_DUAL;
-import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.SELECT_DUAL_2;
-import static net.sourceforge.squirrel_sql.fw.sql.OracleSQL.UPDATE_TEST;
-import net.sourceforge.squirrel_sql.BaseSQuirreLTestCase;
-import net.sourceforge.squirrel_sql.fw.sql.DB2SQL;
-import net.sourceforge.squirrel_sql.fw.sql.GenericSQL;
-import net.sourceforge.squirrel_sql.fw.sql.OracleSQL;
-
-public class CodeReformatorTest extends BaseSQuirreLTestCase {
-
- CodeReformator c = null;
-
- private static CommentSpec[] COMMENT_SPECS =
- new CommentSpec[]
- {
- new CommentSpec("/*", "*/"),
- new CommentSpec("--", "\n")
- };
-
- protected void setUp() throws Exception {
- super.setUp();
-
- c = new CodeReformator(";", COMMENT_SPECS);
- }
-
- protected void tearDown() throws Exception {
- super.tearDown();
-
- c = null;
- }
-
- /**
- * Just try to run as much SQL as possible through the reformator to check
- * that we don't ever throw an IllegalArgumentException - meaning that the
- * code reformator failed to produce equivalent SQL.
- */
- public void testReformat() {
- CodeReformator c = new CodeReformator(";", COMMENT_SPECS);
- // We know this fails - Bug# 1700093
- c.reformat(DB2SQL.insertSubSelectSQL);
-
- // Generic SQL
- c.reformat(CREATE_STUDENT);
- c.reformat(CREATE_COURSES);
- c.reformat(CREATE_PROFESSOR);
- c.reformat(CREATE_TAKE);
- c.reformat(CREATE_TEACH);
- c.reformat(GenericSQL.STUDENTS_NOT_TAKING_CS112);
- c.reformat(ANSI_SQL_92_PROCEDURE);
- c.reformat(ANSI_SQL_92_PROCEDURE_READABLE);
- c.reformat(SELECT_DUAL);
-
- // Oracle SQL
- c.reformat(SELECT_DUAL);
- c.reformat(SELECT_DUAL_2);
- c.reformat(CREATE_STORED_PROC);
- c.reformat(CREATE_OR_REPLACE_STORED_PROC);
- c.reformat(ANON_PROC_EXEC);
- c.reformat(UPDATE_TEST);
- c.reformat(OracleSQL.STUDENTS_NOT_TAKING_CS112);
- c.reformat(NO_SEP_SLASH_SQL);
- c.reformat(CREATE_FUNCTION_SQL);
-
- }
-
- public void testReformatSemiColonStatementSeparator() {
- c = new CodeReformator(";", COMMENT_SPECS);
-
- String pipeSql = "CREATE TABLE BIGINT_VIEW ( BIGINT_COLUMN bigint ); ";
-
- c.reformat(pipeSql);
- }
-
- public void testReformatPipeStatementSeparator() {
- c = new CodeReformator("|", COMMENT_SPECS);
-
- String pipeSql = "CREATE TABLE BIGINT_VIEW ( BIGINT_COLUMN bigint )| ";
-
- c.reformat(pipeSql);
-
- String pipeSql2 =
- "CREATE TABLE BIGINT_TYPE_TABLE \n" +
- "( \n" +
- " ID int PRIMARY KEY NOT NULL, \n" +
- " NAME varchar(30) NOT NULL, \n" +
- " BIGINT_COLUMN bigint, \n" +
- " DESCRIPTION varchar(100), \n" +
- " CREATE_DATE date NOT NULL, \n" +
- " LAST_MODIFIED date NOT NULL \n" +
- ")| \n" +
- " \n" +
- "CREATE UNIQUE INDEX PK_BIGINT ON BIGINT_TYPE_TABLE(ID)| \n" +
- " \n" +
- "CREATE UNIQUE INDEX BIGINT_NAME_IDX ON BIGINT_TYPE_TABLE(NAME)| \n";
-
- c.reformat(pipeSql2);
- }
-
-
-}
Modified: trunk/sql12/plugins/h2/src/main/java/net/sourceforge/squirrel_sql/plugins/h2/H2Plugin.java
===================================================================
--- trunk/sql12/plugins/h2/src/main/java/net/sourceforge/squirrel_sql/plugins/h2/H2Plugin.java 2012-06-19 20:31:02 UTC (rev 6637)
+++ trunk/sql12/plugins/h2/src/main/java/net/sourceforge/squirrel_sql/plugins/h2/H2Plugin.java 2012-06-26 21:24:31 UTC (rev 6638)
@@ -27,7 +27,6 @@
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.SchemaExpander;
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.TableWithChildNodesExpander;
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.DatabaseObjectInfoTab;
-import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.ViewSourceTab;
import net.sourceforge.squirrel_sql.fw.dialects.DialectFactory;
import net.sourceforge.squirrel_sql.fw.gui.GUIUtils;
import net.sourceforge.squirrel_sql.fw.sql.DatabaseObjectType;
@@ -39,10 +38,7 @@
import net.sourceforge.squirrel_sql.plugins.h2.exp.H2SequenceInodeExpanderFactory;
import net.sourceforge.squirrel_sql.plugins.h2.exp.H2TableIndexExtractorImpl;
import net.sourceforge.squirrel_sql.plugins.h2.exp.H2TableTriggerExtractorImpl;
-import net.sourceforge.squirrel_sql.plugins.h2.tab.IndexDetailsTab;
-import net.sourceforge.squirrel_sql.plugins.h2.tab.IndexSourceTab;
-import net.sourceforge.squirrel_sql.plugins.h2.tab.SequenceDetailsTab;
-import net.sourceforge.squirrel_sql.plugins.h2.tab.TriggerDetailsTab;
+import net.sourceforge.squirrel_sql.plugins.h2.tab.*;
/**
Copied: trunk/sql12/plugins/h2/src/main/java/net/sourceforge/squirrel_sql/plugins/h2/tab/ViewSourceTab.java (from rev 6628, trunk/sql12/app/src/main/java/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/tabs/ViewSourceTab.java)
===================================================================
--- trunk/sql12/plugins/h2/src/main/java/net/sourceforge/squirrel_sql/plugins/h2/tab/ViewSourceTab.java (rev 0)
+++ trunk/sql12/plugins/h2/src/main/java/net/sourceforge/squirrel_sql/plugins/h2/tab/ViewSourceTab.java 2012-06-26 21:24:31 UTC (rev 6638)
@@ -0,0 +1,57 @@
+package net.sourceforge.squirrel_sql.plugins.h2.tab;
+
+/*
+ * Copyright (C) 2007 Rob Manning
+ * man...@us...
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.FormattedSourceTab;
+
+/**
+ * This class will display the source for a view. This will work for databases that support the SQL standard
+ * infomation_schema.views table.
+ */
+public class ViewSourceTab extends FormattedSourceTab
+{
+ /**
+ * Constructor
+ *
+ * @param hint
+ * what the user sees on mouse-over tool-tip
+ * @param stmtSep
+ * the string to use to separate SQL statements
+ */
+ public ViewSourceTab(String hint, String stmtSep)
+ {
+ super(hint);
+ super.setCompressWhitespace(true);
+ super.setupFormatter(stmtSep, null);
+ }
+
+ /**
+ * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.table.PSFormattedSourceTab#getSqlStatement()
+ */
+ @Override
+ protected String getSqlStatement()
+ {
+ return
+ "select view_definition " +
+ "from information_schema.views " +
+ "where table_schema = ? " +
+ "and table_name = ? ";
+ }
+}
Modified: trunk/sql12/plugins/informix/src/main/java/net/sourceforge/squirrel_sql/plugins/informix/tab/InformixSourceTab.java
===================================================================
--- trunk/sql12/plugins/informix/src/main/java/net/sourceforge/squirrel_sql/plugins/informix/tab/InformixSourceTab.java 2012-06-19 20:31:02 UTC (rev 6637)
+++ trunk/sql12/plugins/informix/src/main/java/net/sourceforge/squirrel_sql/plugins/informix/tab/InformixSourceTab.java 2012-06-26 21:24:31 UTC (rev 6638)
@@ -25,8 +25,9 @@
import net.sourceforge.squirrel_sql.client.session.ISession;
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.BaseSourcePanel;
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.BaseSourceTab;
-import net.sourceforge.squirrel_sql.fw.codereformat.CodeReformator;
-import net.sourceforge.squirrel_sql.fw.codereformat.CommentSpec;
+import net.sourceforge.squirrel_sql.client.util.codereformat.CodeReformator;
+import net.sourceforge.squirrel_sql.client.util.codereformat.CodeReformatorConfigFactory;
+import net.sourceforge.squirrel_sql.client.util.codereformat.CommentSpec;
import net.sourceforge.squirrel_sql.fw.sql.SQLUtilities;
import net.sourceforge.squirrel_sql.fw.util.StringManager;
import net.sourceforge.squirrel_sql.fw.util.StringManagerFactory;
@@ -58,7 +59,7 @@
private static CommentSpec[] commentSpecs = new CommentSpec[]
{ new CommentSpec("/*", "*/"), new CommentSpec("--", "\n") };
- private static CodeReformator formatter = new CodeReformator(";", commentSpecs);
+ private static CodeReformator formatter = new CodeReformator(CodeReformatorConfigFactory.createConfig(";", commentSpecs));
public InformixSourceTab(String hint) {
super(hint);
Modified: trunk/sql12/plugins/netezza/src/main/java/net/sourceforge/squirrel_sql/plugins/netezza/tab/NetezzaProcedureFormator.java
===================================================================
--- trunk/sql12/plugins/netezza/src/main/java/net/sourceforge/squirrel_sql/plugins/netezza/tab/NetezzaProcedureFormator.java 2012-06-19 20:31:02 UTC (rev 6637)
+++ trunk/sql12/plugins/netezza/src/main/java/net/sourceforge/squirrel_sql/plugins/netezza/tab/NetezzaProcedureFormator.java 2012-06-26 21:24:31 UTC (rev 6638)
@@ -22,7 +22,7 @@
import java.util.ArrayList;
import java.util.List;
-import net.sourceforge.squirrel_sql.fw.codereformat.ICodeReformator;
+import net.sourceforge.squirrel_sql.client.util.codereformat.ICodeReformator;
/**
* The goal of this class is to format the stored procedure source code which comes from Netezza. For example,
@@ -65,7 +65,7 @@
}
/**
- * @see net.sourceforge.squirrel_sql.fw.codereformat.ICodeReformator#reformat(java.lang.String)
+ * @see net.sourceforge.squirrel_sql.client.util.codereformat.ICodeReformator#reformat(java.lang.String)
*/
@Override
public String reformat(String in)
Modified: trunk/sql12/plugins/netezza/src/main/java/net/sourceforge/squirrel_sql/plugins/netezza/tab/ProcedureSourceTab.java
===================================================================
--- trunk/sql12/plugins/netezza/src/main/java/net/sourceforge/squirrel_sql/plugins/netezza/tab/ProcedureSourceTab.java 2012-06-19 20:31:02 UTC (rev 6637)
+++ trunk/sql12/plugins/netezza/src/main/java/net/sourceforge/squirrel_sql/plugins/netezza/tab/ProcedureSourceTab.java 2012-06-26 21:24:31 UTC (rev 6638)
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.FormattedSourceTab;
-import net.sourceforge.squirrel_sql.fw.codereformat.ICodeReformator;
+import net.sourceforge.squirrel_sql.client.util.codereformat.ICodeReformator;
import net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo;
import net.sourceforge.squirrel_sql.fw.util.StringManager;
import net.sourceforge.squirrel_sql.fw.util.StringManagerFactory;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|