(String defaultName)
| 17 | } |
| 18 | |
| 19 | public String[] getPlaceNamesWithDefault(String defaultName) { |
| 20 | Place[] placesArray = new Place[this.places.size()]; |
| 21 | placesArray = this.places.toArray(placesArray); |
| 22 | String[] result = new String[this.places.size() + 1]; |
| 23 | result[0] = defaultName; |
| 24 | for (int i = 1; i < this.places.size() + 1; i++) { |
| 25 | result[i] = placesArray[i - 1].getDisplayName(); |
| 26 | } |
| 27 | return result; |
| 28 | } |
| 29 | |
| 30 | public String[] getPlaceNames() { |
| 31 | Place[] placesArray = new Place[this.places.size()]; |
nothing calls this directly
no test coverage detected