Now the component provides read-only access to the interfaces.
[utils] / system / general / src / test / java / org / wamblee / system / core / IntegerComponent.java
index 0af4ae3d5d86338c62187f934fd77e3714a00d99..547f831d4e9e4d14447965733728acd6fabc8d0f 100644 (file)
@@ -59,7 +59,7 @@ public class IntegerComponent extends AbstractComponent {
 
        @Override
        protected Object doStart(Scope aScope) {
-               addInterface(getProvidedInterfaces()[1], getInteger(), aScope);
+               addInterface(getProvidedInterfaces().get(1), getInteger(), aScope);
                track("start." + getName());
                return _random;
        }