in src/main/java/org/apache/sling/discovery/commons/providers/EventHelper.java [68:82]
public static TopologyEvent newPropertiesChangedEvent(final BaseTopologyView oldView, final BaseTopologyView newView) {
if (oldView==null) {
throw new IllegalStateException("oldView must not be null");
}
if (oldView.isCurrent()) {
throw new IllegalStateException("oldView must not be current");
}
if (newView==null) {
throw new IllegalStateException("newView must not be null");
}
if (!newView.isCurrent()) {
throw new IllegalStateException("newView must be current");
}
return new TopologyEvent(Type.PROPERTIES_CHANGED, oldView, newView);
}