summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-08 11:36:57 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 08:49:23 +0200
commit2b3a801014b4891cd24ee4b61206652ff1cc6e73 (patch)
tree97565d262fa104197d434a7164bb310246ec812d /wizards
parentda677dfd59c2b551f3335ee0a5d5dfb33f9869c5 (diff)
java: reduce scope, make some interfaces private
found by UCDetector Change-Id: I4e1051c041e62b8317b10a5d7d990c77b1acddf9
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/common/UCB.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/ImageList.java2
-rw-r--r--wizards/com/sun/star/wizards/ui/event/ListModelBinder.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/common/UCB.java b/wizards/com/sun/star/wizards/common/UCB.java
index adeb788741d2..1b4fecc09f14 100644
--- a/wizards/com/sun/star/wizards/common/UCB.java
+++ b/wizards/com/sun/star/wizards/common/UCB.java
@@ -240,7 +240,7 @@ public class UCB
XContentProvider.class,ucb).queryContent(id);
}
- public static interface Verifier
+ private static interface Verifier
{
public boolean verify(Object object);
diff --git a/wizards/com/sun/star/wizards/ui/ImageList.java b/wizards/com/sun/star/wizards/ui/ImageList.java
index 0fe4af1b54bd..673bc64c4d96 100644
--- a/wizards/com/sun/star/wizards/ui/ImageList.java
+++ b/wizards/com/sun/star/wizards/ui/ImageList.java
@@ -789,7 +789,7 @@ public class ImageList implements XItemEventBroadcaster, ListDataListener
};
}
- public static interface IImageRenderer extends IRenderer
+ private static interface IImageRenderer extends IRenderer
{
/**
diff --git a/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java b/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java
index 31d8ed5fe2a8..5ecc1c8c9a89 100644
--- a/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java
+++ b/wizards/com/sun/star/wizards/ui/event/ListModelBinder.java
@@ -134,7 +134,7 @@ public class ListModelBinder implements ListDataListener
remove((short) lde.getIndex0(), (short) lde.getIndex1());
}
- public static interface Renderer
+ private static interface Renderer
{
public String render(Object item);