diff --git a/pom.xml b/pom.xml index 634043bee3793623c589d71164eeae2546f33b3e..034c1c627998d00224fe7a928f777fb789628ea4 100644 --- a/pom.xml +++ b/pom.xml @@ -62,6 +62,10 @@ 1.1.0.Alpha4 + 3.3 + 2.4 + 2.10.3 + 2.8.2 2.10 2.18.1 2.7 @@ -243,6 +247,26 @@ + + org.apache.maven.plugins + maven-compiler-plugin + ${maven.compiler.plugin.version} + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven.javadoc.plugin.version} + + + org.apache.maven.plugins + maven-source-plugin + ${maven.source.plugin.version} + + + org.apache.maven.plugins + maven-deploy-plugin + ${maven.deploy.plugin.version} + org.apache.maven.plugins maven-dependency-plugin diff --git a/service/src/main/java/es/uvigo/esei/xcs/service/OwnerService.java b/service/src/main/java/es/uvigo/esei/xcs/service/OwnerService.java index b2fe2466ddf46bb9a8a01e57da1e641757b59929..f1456574bf7bee89ff6d134cbdce495460f6b48e 100644 --- a/service/src/main/java/es/uvigo/esei/xcs/service/OwnerService.java +++ b/service/src/main/java/es/uvigo/esei/xcs/service/OwnerService.java @@ -90,6 +90,7 @@ public class OwnerService { * Updates a new owner. If the owner is not stored, it will be persisted. * * @param owner an owner to be updated. + * @return the updated owner. * @throws IllegalArgumentException if {@code owner} is {@code null}. */ public Owner update(Owner owner) { diff --git a/service/src/main/java/es/uvigo/esei/xcs/service/PetService.java b/service/src/main/java/es/uvigo/esei/xcs/service/PetService.java index 37d29d165b4a2b23990270afd3b05b7ffeb7a071..8993f61c233d4378b97025db1b1d2097f403d64e 100644 --- a/service/src/main/java/es/uvigo/esei/xcs/service/PetService.java +++ b/service/src/main/java/es/uvigo/esei/xcs/service/PetService.java @@ -89,7 +89,8 @@ public class PetService { * Updates the information of a pet. If the pet is not stored, it will be * created. * - * @param pet a pet to be updated. + * @param pet a pet to be updated. + * @return the updated pet. * @throws IllegalArgumentException if the pet has no owner. * @throws EJBAccessException if the pet's owner is not the current user. */