* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.system.adapters;
import org.wamblee.system.core.DefaultRequiredInterface;
import org.wamblee.system.core.Scope;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
/**
public ParameterValues(String[] aNames, Class[] aTypes) {
assert aNames.length == aTypes.length;
names = aNames;
- types = aTypes;
+ types = Arrays.copyOf(aTypes, aTypes.length);
resetValues();
}
* @return Types.
*/
public Class[] getTypes() {
- return types;
+ return Arrays.copyOf(types, types.length);
}
/**