[Minor] Made StrolchComponent.getConfiguration() public

This commit is contained in:
Robert von Burg 2019-04-15 12:22:48 +02:00
parent d856f55eff
commit 1ade695e9b
2 changed files with 2 additions and 7 deletions

View File

@ -101,7 +101,7 @@ public class StrolchComponent {
* *
* @return the reference to the container * @return the reference to the container
*/ */
protected ComponentContainer getContainer() { public ComponentContainer getContainer() {
DBC.PRE.assertNotNull("container is null!", this.container); DBC.PRE.assertNotNull("container is null!", this.container);
return this.container; return this.container;
} }
@ -111,7 +111,7 @@ public class StrolchComponent {
* *
* @return the component's configuration * @return the component's configuration
*/ */
protected ComponentConfiguration getConfiguration() { public ComponentConfiguration getConfiguration() {
return this.configuration; return this.configuration;
} }

View File

@ -191,11 +191,6 @@ public class RestfulStrolchComponent extends StrolchComponent {
return instance; return instance;
} }
@Override
public ComponentContainer getContainer() {
return super.getContainer();
}
public StrolchAgent getAgent() { public StrolchAgent getAgent() {
return super.getContainer().getAgent(); return super.getContainer().getAgent();
} }