commit | 89ae8beba7f6bd03e3af13c45124cbe62f122b3b | [log] [tgz] |
---|---|---|
author | Konrad Windszus <kwin@apache.org> | Fri May 31 14:51:59 2019 +0200 |
committer | Konrad Windszus <kwin@apache.org> | Fri May 31 14:51:59 2019 +0200 |
tree | 52f12fa9b588567d08488f9b98397ee6390cba64 | |
parent | 359d7bf28c1e240a75e01d19f47ea44ff3c1952d [diff] |
SLING-8356 decrease ranking of ResourceTypeBasedResourcePicker to be able to place pickers after it
diff --git a/src/main/java/org/apache/sling/models/impl/ResourceTypeBasedResourcePicker.java b/src/main/java/org/apache/sling/models/impl/ResourceTypeBasedResourcePicker.java index 35ca9dd..82b1337 100644 --- a/src/main/java/org/apache/sling/models/impl/ResourceTypeBasedResourcePicker.java +++ b/src/main/java/org/apache/sling/models/impl/ResourceTypeBasedResourcePicker.java
@@ -31,7 +31,7 @@ @Component @Service -@Property(name = Constants.SERVICE_RANKING, intValue = (Integer.MAX_VALUE - 1)) +@Property(name = Constants.SERVICE_RANKING, intValue = 0) // this must come before FirstImplementationPicker public class ResourceTypeBasedResourcePicker implements ImplementationPicker { @Override