Expand my Community achievements bar.

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