File tree Expand file tree Collapse file tree 7 files changed +24
-24
lines changed
main/java/org/utplsql/sqldev
test/java/org/utplsql/sqldev/tests Expand file tree Collapse file tree 7 files changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ import org.utplsql.sqldev.model.preference.PreferenceModel
30
30
import org.utplsql.sqldev.resources.UtplsqlResources
31
31
32
32
class UtplsqlWorksheet {
33
- private static val Logger logger = Logger . getLogger(UtplsqlWorksheet . name);
33
+ static val Logger logger = Logger . getLogger(UtplsqlWorksheet . name);
34
34
35
- private var PreferenceModel preferences
36
- private var String connectionName
37
- private var List<String > pathList
35
+ var PreferenceModel preferences
36
+ var String connectionName
37
+ var List<String > pathList
38
38
39
39
new (List<String > pathList, String connectionName) {
40
40
this . pathList = pathList
Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ import org.utplsql.sqldev.model.ut.Annotation
26
26
27
27
class UtplsqlDao {
28
28
public static val UTPLSQL_PACKAGE_NAME = " UT"
29
- private var Connection conn
30
- private var JdbcTemplate jdbcTemplate
29
+ var Connection conn
30
+ var JdbcTemplate jdbcTemplate
31
31
// cache fields
32
- private Boolean cachedDbaViewAccessible
33
- private String cachedUtplsqlSchema
34
- private Boolean cachedUtAnnotationManagerInstalled
32
+ Boolean cachedDbaViewAccessible
33
+ String cachedUtplsqlSchema
34
+ Boolean cachedUtAnnotationManagerInstalled
35
35
36
- new (Connection conn ) {
37
- this . conn = conn
38
- this . jdbcTemplate = new JdbcTemplate (new SingleConnectionDataSource (conn, true ))
36
+ new (Connection connection ) {
37
+ conn = connection
38
+ jdbcTemplate = new JdbcTemplate (new SingleConnectionDataSource (conn, true ))
39
39
}
40
40
41
41
def boolean isDbaViewAccessible () {
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ import org.utplsql.sqldev.model.preference.PreferenceModel
40
40
import org.utplsql.sqldev.parser.UtplsqlParser
41
41
42
42
class UtplsqlController implements Controller {
43
- private static final Logger logger = Logger . getLogger(UtplsqlController . name);
44
- private val extension URLTools urlTools = new URLTools
43
+ static final Logger logger = Logger . getLogger(UtplsqlController . name);
44
+ val extension URLTools urlTools = new URLTools
45
45
46
46
public static int UTLPLSQL_TEST_CMD_ID = Ide . findCmdID(" utplsql.test" )
47
47
public static final IdeAction UTLPLSQL_TEST_ACTION = IdeAction . get(UtplsqlController . UTLPLSQL_TEST_CMD_ID )
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ import org.utplsql.sqldev.model.parser.PlsqlObject
24
24
import org.utplsql.sqldev.model.parser.Unit
25
25
26
26
class UtplsqlParser {
27
- private String owner
28
- private String plsql
29
- private String plsqlReduced
30
- private ArrayList<PlsqlObject > objects = new ArrayList<PlsqlObject >
31
- private ArrayList<Unit > units = new ArrayList<Unit >
27
+ String owner
28
+ String plsql
29
+ String plsqlReduced
30
+ ArrayList<PlsqlObject > objects = new ArrayList<PlsqlObject >
31
+ ArrayList<Unit > units = new ArrayList<Unit >
32
32
33
33
new (String plsql, Connection conn, String owner) {
34
34
setPlsql(plsql)
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ package org.utplsql.sqldev.resources
18
18
import oracle.dbtools.raptor.utils.MessagesBase
19
19
20
20
class UtplsqlResources extends MessagesBase {
21
- private static final ClassLoader CLASS_LOADER = UtplsqlResources . classLoader
22
- private static final String CLASS_NAME = UtplsqlResources . canonicalName
23
- private static final UtplsqlResources INSTANCE = new UtplsqlResources ()
21
+ static final ClassLoader CLASS_LOADER = UtplsqlResources . classLoader
22
+ static final String CLASS_NAME = UtplsqlResources . canonicalName
23
+ static final UtplsqlResources INSTANCE = new UtplsqlResources ()
24
24
25
25
private new () {
26
26
super (CLASS_NAME , CLASS_LOADER )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import org.junit.Test
5
5
import org.utplsql.sqldev.model.URLTools
6
6
7
7
class UrlToolsTest {
8
- private val extension URLTools urlTools = new URLTools
8
+ val extension URLTools urlTools = new URLTools
9
9
10
10
@Test
11
11
def void testReplacePlusSign () {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import org.utplsql.sqldev.parser.UtplsqlParser
24
24
25
25
class UtplsqlParserTest extends AbstractJdbcTest {
26
26
27
- private static val sqlScript = ' ' '
27
+ static val sqlScript = ' ' '
28
28
PROMPT
29
29
PROMPT Install utPLSQL test package
30
30
PROMPT
You can’t perform that action at this time.
0 commit comments