summaryrefslogtreecommitdiff
path: root/connectivity/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-08 11:36:04 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 08:49:22 +0200
commitda677dfd59c2b551f3335ee0a5d5dfb33f9869c5 (patch)
tree9aa09066c95935117bf405b119ed9f89f448a54d /connectivity/qa
parent14d1a11ec4a7ed0deeac522403248536e8d23f57 (diff)
java: reduce scope, make fields private
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
Diffstat (limited to 'connectivity/qa')
-rw-r--r--connectivity/qa/connectivity/tools/AbstractDatabase.java2
-rw-r--r--connectivity/qa/connectivity/tools/FlatFileDatabase.java4
-rw-r--r--connectivity/qa/connectivity/tools/QueryDefinition.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/qa/connectivity/tools/AbstractDatabase.java b/connectivity/qa/connectivity/tools/AbstractDatabase.java
index 4e048e08ca61..78cdf43a9dfc 100644
--- a/connectivity/qa/connectivity/tools/AbstractDatabase.java
+++ b/connectivity/qa/connectivity/tools/AbstractDatabase.java
@@ -203,5 +203,5 @@ public abstract class AbstractDatabase implements DatabaseAccess
// the data source belonging to the database document
protected DataSource m_dataSource;
// the default connection
- protected Connection m_connection;
+ private Connection m_connection;
}
diff --git a/connectivity/qa/connectivity/tools/FlatFileDatabase.java b/connectivity/qa/connectivity/tools/FlatFileDatabase.java
index f3fddff77849..31f263a1196b 100644
--- a/connectivity/qa/connectivity/tools/FlatFileDatabase.java
+++ b/connectivity/qa/connectivity/tools/FlatFileDatabase.java
@@ -88,6 +88,6 @@ class FlatFileDatabase extends AbstractDatabase
storable.storeAsURL( m_databaseDocumentFile, new PropertyValue[] { } );
}
- final String m_urlSubScheme;
- File m_tableFileLocation = null;
+ private final String m_urlSubScheme;
+ private File m_tableFileLocation = null;
}
diff --git a/connectivity/qa/connectivity/tools/QueryDefinition.java b/connectivity/qa/connectivity/tools/QueryDefinition.java
index ee224633c801..ab5fe513988f 100644
--- a/connectivity/qa/connectivity/tools/QueryDefinition.java
+++ b/connectivity/qa/connectivity/tools/QueryDefinition.java
@@ -26,7 +26,7 @@ import com.sun.star.lang.IllegalArgumentException;
public class QueryDefinition
{
- XPropertySet m_queryDef;
+ private XPropertySet m_queryDef;
public QueryDefinition( XPropertySet _queryDef )
{