[libbluray-devel] Mark inner clases static

hpi1 git at videolan.org
Fri May 22 11:13:26 CEST 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri May 22 12:12:57 2015 +0300| [d3f3dc7cb8e3cac6a354128436f4501a6fcb1999] | committer: hpi1

Mark inner clases static

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=d3f3dc7cb8e3cac6a354128436f4501a6fcb1999
---

 src/libbluray/bdj/java/org/dvb/event/EventManager.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bdj/java/org/dvb/event/EventManager.java b/src/libbluray/bdj/java/org/dvb/event/EventManager.java
index 029cc26..844b72d 100644
--- a/src/libbluray/bdj/java/org/dvb/event/EventManager.java
+++ b/src/libbluray/bdj/java/org/dvb/event/EventManager.java
@@ -254,7 +254,7 @@ public class EventManager implements ResourceServer {
         return false;
     }
 
-    private class UserEventItem {
+    private static class UserEventItem {
         public UserEventItem(BDJXletContext context, UserEventListener listener,
                              ResourceClient client, UserEventRepository userEvents) {
             this.context = context;
@@ -272,7 +272,7 @@ public class EventManager implements ResourceServer {
         public UserEventRepository userEvents;
     }
 
-    private class UserEventAction extends BDJAction {
+    private static class UserEventAction extends BDJAction {
         public UserEventAction(UserEventItem item, UserEvent event) {
             this.listener = item.listener;
             this.event = event;



More information about the libbluray-devel mailing list