fixes Sonar issue about May expose internal representation by returning reference to mutable object in Sample.java
fixes Sonar issue about May expose internal representation by returning reference to mutable object in Sample.java

NLeSC/DifferentialEvolution