Make StandardConfigDataResource.getResource public
Update `StandardConfigDataResource` to make the `getResource()` method public so that it can be used by Spring Cloud. Closes gh-24504
This commit is contained in:
@@ -65,7 +65,12 @@ public class StandardConfigDataResource extends ConfigDataResource {
|
||||
return this.reference;
|
||||
}
|
||||
|
||||
Resource getResource() {
|
||||
/**
|
||||
* Return the underlying Spring {@link Resource} being loaded.
|
||||
* @return the underlying resource
|
||||
* @since 2.4.2
|
||||
*/
|
||||
public Resource getResource() {
|
||||
return this.resource;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user