Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

SocialResourceProvider API Deprecation Warnings

Avatar

Level 5

Just wondering if Adobe is planning to address the deprecation of the create(); method for the ModifyingResourceProvider (org.apache.sling.api.resource.ModifyingResourceProvider) class that SocialResourceProvider extends.

The method create(ResourceResolver, String, Map<String,Object>) from the type ModifyingResourceProvider is deprecated

Needing to mark my class methods with @SuppressWarnings("deprecation") is not fun. :(

1 Reply

Avatar

Level 5

Suppose I should have stated this is for more than just create(); as this also affects getResource(); and delete();

The method getResource(ResourceResolver, String) from the type ResourceProvider is deprecated
The method delete(ResourceResolver, String) from the type ModifyingResourceProvider is deprecated