diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 12:44:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:23 +0200 |
commit | 68cd011c907d00493bf2bfde531c1e244819596b (patch) | |
tree | 0225318c908b00faaa701a19aaf7aa567c3582a0 /framework | |
parent | 70f56bc22fe952c75ec714e05e1bb5296491a36a (diff) |
java: reduce scope, make some methods private
found by UCDetector
Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qa/complex/framework/autosave/AutoSave.java | 2 | ||||
-rw-r--r-- | framework/qa/complex/framework/autosave/Protocol.java | 4 | ||||
-rw-r--r-- | framework/qa/complex/framework/recovery/RecoveryTools.java | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java index 868dd63a3d45..9f6494394037 100644 --- a/framework/qa/complex/framework/autosave/AutoSave.java +++ b/framework/qa/complex/framework/autosave/AutoSave.java @@ -97,7 +97,7 @@ public class AutoSave m_aLog.log(Protocol.TYPE_SCOPE_CLOSE, ""); } - public void disableListener() + private void disableListener() { m_aLog.log(Protocol.TYPE_SCOPE_OPEN, "stop listening for AutoSave notifications ..."); diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index 63f1e79fb755..528a4a2a475d 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -272,7 +272,7 @@ public class Protocol extends JComponent * format this line as a string for writing log files * using the html format */ - public synchronized String toHTML() + private synchronized String toHTML() { StringBuffer sLine = new StringBuffer(1000); sLine.append("<tr>"); @@ -716,7 +716,7 @@ public class Protocol extends JComponent resetStatistics(); } - public synchronized void resetStatistics() + private synchronized void resetStatistics() { m_nTestMarks = 0; m_nWarnings = 0; diff --git a/framework/qa/complex/framework/recovery/RecoveryTools.java b/framework/qa/complex/framework/recovery/RecoveryTools.java index a02b756613c5..feb10f4b255a 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTools.java +++ b/framework/qa/complex/framework/recovery/RecoveryTools.java @@ -116,7 +116,7 @@ public class RecoveryTools { /** * halt the thread for some time */ - public void pause(int sleepTime){ + private void pause(int sleepTime){ sleep(sleepTime); } |