diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 11:39:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:23 +0200 |
commit | 70f56bc22fe952c75ec714e05e1bb5296491a36a (patch) | |
tree | af4b3cf94e84cc2f5bf57c002f264eb44c3558af /sfx2 | |
parent | 2b3a801014b4891cd24ee4b61206652ff1cc6e73 (diff) |
java: reduce scope, make member classes private
found by UCDetector
Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/qa/complex/sfx2/DocumentMetadataAccess.java | 4 | ||||
-rw-r--r-- | sfx2/qa/complex/sfx2/DocumentProperties.java | 2 | ||||
-rw-r--r-- | sfx2/qa/complex/sfx2/GlobalEventBroadcaster.java | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java b/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java index 4ed026c09efa..d0753ba3a14c 100644 --- a/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java +++ b/sfx2/qa/complex/sfx2/DocumentMetadataAccess.java @@ -969,7 +969,7 @@ public class DocumentMetadataAccess return ret; } - static class BindingComp implements java.util.Comparator<XNode[]> + private static class BindingComp implements java.util.Comparator<XNode[]> { public int compare(XNode[] left, XNode[] right) { @@ -989,7 +989,7 @@ public class DocumentMetadataAccess } } - static class StmtComp implements java.util.Comparator<Statement> + private static class StmtComp implements java.util.Comparator<Statement> { public int compare(Statement left, Statement right) { diff --git a/sfx2/qa/complex/sfx2/DocumentProperties.java b/sfx2/qa/complex/sfx2/DocumentProperties.java index b953d8bc19df..6686cd96959b 100644 --- a/sfx2/qa/complex/sfx2/DocumentProperties.java +++ b/sfx2/qa/complex/sfx2/DocumentProperties.java @@ -63,7 +63,7 @@ public class DocumentProperties } // for testing modifications - class Listener implements XModifyListener { + private class Listener implements XModifyListener { private boolean m_Called; Listener() { diff --git a/sfx2/qa/complex/sfx2/GlobalEventBroadcaster.java b/sfx2/qa/complex/sfx2/GlobalEventBroadcaster.java index 96901bd783f8..754e0da1aa65 100644 --- a/sfx2/qa/complex/sfx2/GlobalEventBroadcaster.java +++ b/sfx2/qa/complex/sfx2/GlobalEventBroadcaster.java @@ -230,7 +230,7 @@ public class GlobalEventBroadcaster { return !failure; } - public class EventListenerImpl implements XEventListener { + private class EventListenerImpl implements XEventListener { public void disposing(com.sun.star.lang.EventObject eventObject) { System.out.println("disposing: " + eventObject.Source.toString()); } |