summaryrefslogtreecommitdiff
path: root/ucb
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 /ucb
parent2b3a801014b4891cd24ee4b61206652ff1cc6e73 (diff)
java: reduce scope, make member classes private
found by UCDetector Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
Diffstat (limited to 'ucb')
-rw-r--r--ucb/qa/complex/tdoc/_XComponent.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/qa/complex/tdoc/_XComponent.java b/ucb/qa/complex/tdoc/_XComponent.java
index 63adb1fe50cc..dc09c04f6440 100644
--- a/ucb/qa/complex/tdoc/_XComponent.java
+++ b/ucb/qa/complex/tdoc/_XComponent.java
@@ -47,7 +47,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 {
public void disposing ( EventObject oEvent ) {
Loutput[0] = Thread.currentThread() + " is DISPOSING EV1" + this;
listenerDisposed[0] = true;
@@ -58,7 +58,7 @@ public class _XComponent {
* Listener which added and then removed, and its method must <b>not</b>
* be called on <code>dispose</code> call.
*/
- public class MyEventListener2 implements XEventListener {
+ private class MyEventListener2 implements XEventListener {
public void disposing ( EventObject oEvent ) {
Loutput[0] = Thread.currentThread() + " is DISPOSING EV2" + this;
listenerDisposed[1] = true;