Author: cziegeler
Date: Fri Jan 17 14:23:46 2014
New Revision: 1559110
URL: http://svn.apache.org/r1559110
Log:
Use constant instead - we rely on latest API now anyway
Modified:
sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
Modified:
sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java?rev=1559110&r1=1559109&r2=1559110&view=diff
==============================================================================
---
sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
(original)
+++
sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
Fri Jan 17 14:23:46 2014
@@ -398,10 +398,7 @@ public class MapEntries implements Event
*/
private void sendChangeEvent() {
if (this.eventAdmin != null) {
- // we hard code the topic here and don't use
- // SlingConstants.TOPIC_RESOURCE_RESOLVER_MAPPING_CHANGED
- // to avoid requiring the latest API version for this bundle to
work
- final Event event = new
Event("org/apache/sling/api/resource/ResourceResolverMapping/CHANGED",
+ final Event event = new
Event(SlingConstants.TOPIC_RESOURCE_RESOLVER_MAPPING_CHANGED,
(Dictionary<?, ?>) null);
this.eventAdmin.postEvent(event);
}