From 5813b80e9820376e4fe0cc7203975c76d4f19abe Mon Sep 17 00:00:00 2001 From: "Gregory.Shrago" Date: Tue, 22 Nov 2011 19:31:19 +0300 Subject: [PATCH] intention descriptions & minor fix --- .../QuickEditAction/after.java.template | 11 ++++++++++- .../QuickEditAction/before.java.template | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/plugins/IntelliLang/src/intentionDescriptions/QuickEditAction/after.java.template b/plugins/IntelliLang/src/intentionDescriptions/QuickEditAction/after.java.template index 391250caa0ad..67fb495564cd 100644 --- a/plugins/IntelliLang/src/intentionDescriptions/QuickEditAction/after.java.template +++ b/plugins/IntelliLang/src/intentionDescriptions/QuickEditAction/after.java.template @@ -1 +1,10 @@ -XXX \ No newline at end of file +import java.sql.*; + +public class Test { + public void runScript(Statement st) throws SQLException { + st.execute("create table some_table (id integer primary key)"); + st.execute("insert into some_table values(1)"); + st.execute("select * from some_table"); + st.execute("drop table some_table"); + } +} \ No newline at end of file diff --git a/plugins/IntelliLang/src/intentionDescriptions/QuickEditAction/before.java.template b/plugins/IntelliLang/src/intentionDescriptions/QuickEditAction/before.java.template index 391250caa0ad..f6ee718db163 100644 --- a/plugins/IntelliLang/src/intentionDescriptions/QuickEditAction/before.java.template +++ b/plugins/IntelliLang/src/intentionDescriptions/QuickEditAction/before.java.template @@ -1 +1,10 @@ -XXX \ No newline at end of file +import java.sql.*; + +public class Test { + public void runScript(Statement st) throws SQLException { + st.execute("create table some_table (id integer primary key)"); + st.execute("insert into some_table values(1)"); + st.execute("select * from some_table"); + st.execute("drop table some_table"); + } +} \ No newline at end of file