Permalink
Browse files

getLastNames and getMiddleNames now returns a Collection instead of a…

… Set.
  • Loading branch information...
1 parent bf30752 commit d795d0777e4b0481bc69dc3757cad74ffb411425 @ccorsi committed Sep 4, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 persistence/books/xml/src/books/persistence/types/xml/PersonXML.java
@@ -23,6 +23,7 @@
*/
package books.persistence.types.xml;
+import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
@@ -102,15 +103,15 @@ public String getFullName() {
* @see books.persistence.types.Person#getLastNames()
*/
@Override
- public Set<String> getLastNames() {
+ public Collection<String> getLastNames() {
return lastNames;
}
/* (non-Javadoc)
* @see books.persistence.types.Person#getMiddleNames()
*/
@Override
- public Set<String> getMiddleNames() {
+ public Collection<String> getMiddleNames() {
return middleNames;
}

0 comments on commit d795d07

Please sign in to comment.