felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1587044 - /felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java
Date Sun, 13 Apr 2014 17:05:39 GMT
Author: pderop
Date: Sun Apr 13 17:05:39 2014
New Revision: 1587044

URL: http://svn.apache.org/r1587044
Log:
Event extends the Comparable interface, because all kind of events must be comparable.

Modified:
    felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java?rev=1587044&r1=1587043&r2=1587044&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/context/Event.java Sun Apr
13 17:05:39 2014
@@ -6,7 +6,7 @@ import org.osgi.framework.BundleContext;
  * An event holds all data that belongs to some external event as it comes in via
  * the 'changed' callback of a dependency.
  */
-public interface Event {
+public interface Event extends Comparable {
     /**
      * Release the resources this event is holding (like service reference for example).
      * @param m_context the bundle context possibly used to clean some service references.s



Mime
View raw message