Commit 5ca01ce5 authored by Phillip Webb's avatar Phillip Webb

Make StandardConfigDataResource.getResource public

Update `StandardConfigDataResource`  to make the `getResource()` method
public so that it can be used by Spring Cloud.

Closes gh-24504
parent d1958154
...@@ -65,7 +65,12 @@ public class StandardConfigDataResource extends ConfigDataResource { ...@@ -65,7 +65,12 @@ public class StandardConfigDataResource extends ConfigDataResource {
return this.reference; 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; return this.resource;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment