summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-08 11:39:00 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 08:49:23 +0200
commit70f56bc22fe952c75ec714e05e1bb5296491a36a (patch)
treeaf4b3cf94e84cc2f5bf57c002f264eb44c3558af /framework
parent2b3a801014b4891cd24ee4b61206652ff1cc6e73 (diff)
java: reduce scope, make member classes private
found by UCDetector Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
Diffstat (limited to 'framework')
-rw-r--r--framework/qa/complex/framework/autosave/AutoSave.java4
-rw-r--r--framework/qa/complex/framework/autosave/Protocol.java2
-rw-r--r--framework/qa/complex/imageManager/CheckImageManager.java2
-rw-r--r--framework/qa/complex/imageManager/_XComponent.java2
4 files changed, 5 insertions, 5 deletions
diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java
index d82f97363125..868dd63a3d45 100644
--- a/framework/qa/complex/framework/autosave/AutoSave.java
+++ b/framework/qa/complex/framework/autosave/AutoSave.java
@@ -62,7 +62,7 @@ import static org.junit.Assert.*;
public class AutoSave
{
- class AutoSaveListener implements XStatusListener
+ private class AutoSaveListener implements XStatusListener
{
private XDispatch m_xAutoSave;
private URL m_aRegistration;
@@ -356,7 +356,7 @@ public class AutoSave
m_aLog.log(Protocol.TYPE_SCOPE_CLOSE, "closeDoc() finished.");
}
- class DocThread extends Thread
+ private class DocThread extends Thread
{
DocThread()
{}
diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java
index c985a951c1b2..63f1e79fb755 100644
--- a/framework/qa/complex/framework/autosave/Protocol.java
+++ b/framework/qa/complex/framework/autosave/Protocol.java
@@ -156,7 +156,7 @@ public class Protocol extends JComponent
* Such line can be specified as a special one (ERROR, WARNING ...).
* That makes it possible to analyze the whole protocol using tools.
*/
- class ProtocolLine
+ private class ProtocolLine
{
/// the line number of this protocol line (size of the vector of all protocol lines cn be used to count such lines!)
private long m_nLine;
diff --git a/framework/qa/complex/imageManager/CheckImageManager.java b/framework/qa/complex/imageManager/CheckImageManager.java
index d5004c477928..ac71c6923f7e 100644
--- a/framework/qa/complex/imageManager/CheckImageManager.java
+++ b/framework/qa/complex/imageManager/CheckImageManager.java
@@ -141,7 +141,7 @@ public class CheckImageManager {
}
- class OXUIConfigurationListenerImpl implements _XUIConfiguration.XUIConfigurationListenerImpl {
+ private class OXUIConfigurationListenerImpl implements _XUIConfiguration.XUIConfigurationListenerImpl {
private boolean triggered = false;
public boolean actionWasTriggered() {
diff --git a/framework/qa/complex/imageManager/_XComponent.java b/framework/qa/complex/imageManager/_XComponent.java
index 3e1dddf9378c..54ac164a6f34 100644
--- a/framework/qa/complex/imageManager/_XComponent.java
+++ b/framework/qa/complex/imageManager/_XComponent.java
@@ -48,7 +48,7 @@ public class _XComponent {
* Listener which added but not removed, and its method must be called
* on <code>dispose</code> call.
*/
- public class MyEventListener implements XEventListener {
+ private class MyEventListener implements XEventListener {
private int number = 0;
private String message = null;
private MyEventListener(int number, String message) {