summaryrefslogtreecommitdiff
path: root/sw/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 /sw/qa
parent14d1a11ec4a7ed0deeac522403248536e8d23f57 (diff)
java: reduce scope, make fields private
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/complex/writer/CheckBookmarks.java2
-rw-r--r--sw/qa/complex/writer/TextPortionEnumerationTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/complex/writer/CheckBookmarks.java b/sw/qa/complex/writer/CheckBookmarks.java
index e53dffc28cc7..348844cf4868 100644
--- a/sw/qa/complex/writer/CheckBookmarks.java
+++ b/sw/qa/complex/writer/CheckBookmarks.java
@@ -46,7 +46,7 @@ class BookmarkHashes {
public BigInteger m_nDeleteRandomHash;
public BigInteger m_nLinebreakHash;
public BigInteger m_nOdfReloadHash;
- public BigInteger m_nMsWordReloadHash;
+ private BigInteger m_nMsWordReloadHash;
public void assertExpectation(BookmarkHashes aExpectation) {
assertEquals(aExpectation.m_nSetupHash, m_nSetupHash);
diff --git a/sw/qa/complex/writer/TextPortionEnumerationTest.java b/sw/qa/complex/writer/TextPortionEnumerationTest.java
index 8ef7b8870b8e..5c51ae70e4cd 100644
--- a/sw/qa/complex/writer/TextPortionEnumerationTest.java
+++ b/sw/qa/complex/writer/TextPortionEnumerationTest.java
@@ -105,7 +105,7 @@ abstract class MarkNode extends TreeNode
{
boolean m_isPoint;
boolean m_isStart = false;
- String m_Name;
+ private String m_Name;
boolean isPoint() { return m_isPoint; }
boolean isStart() { return m_isStart; }
String getName() { return m_Name; }