Skip to content

Commit

Permalink
Make StandardConfigDataResource.getResource public
Browse files Browse the repository at this point in the history
Update `StandardConfigDataResource`  to make the `getResource()` method
public so that it can be used by Spring Cloud.

Closes gh-24504
  • Loading branch information
philwebb committed Dec 17, 2020
1 parent d195815 commit 5ca01ce
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -65,7 +65,12 @@ StandardConfigDataReference getReference() {
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;
}

Expand Down

0 comments on commit 5ca01ce

Please sign in to comment.