SocialResourceProvider API Deprecation Warnings

Avatar

Avatar

Gdubz-57m2mu

Avatar

Gdubz-57m2mu

Gdubz-57m2mu

08-12-2016

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. 😞

View Entire Topic

Avatar

Avatar

Gdubz-57m2mu

Avatar

Gdubz-57m2mu

Gdubz-57m2mu

09-12-2016

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