java code (1) public void setMappedNames(String[] mappedNames) {this.mappedNames = new LinkedList<String>();if (mappedNames != null) {this.mappedNames.addAll(Arrays.asList(mappedNames));}}