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:
parent
b2abc8ff3f
commit
aeaefbee33
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue