From 014ef91e49c7a344ec27c92176e6499eb940b9d0 Mon Sep 17 00:00:00 2001 From: Cleverson Sacramento Date: Wed, 11 Jun 2014 12:47:15 -0300 Subject: [PATCH] Remoção de código desnecessário --- archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/AuthREST.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/AuthREST.java b/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/AuthREST.java index d846e89..87f18cb 100644 --- a/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/AuthREST.java +++ b/archetype/html-rest/src/main/resources/archetype-resources/src/main/java/rest/AuthREST.java @@ -1,7 +1,6 @@ package ${package}.rest; import javax.inject.Inject; -import javax.validation.Valid; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import javax.ws.rs.Consumes; @@ -28,7 +27,7 @@ public class AuthREST { @ValidatePayload @Produces("application/json") @Consumes("application/json") - public void login(@Valid CredentialsForm form) { + public void login(CredentialsForm form) { Credentials credentials = Beans.getReference(Credentials.class); credentials.setUsername(form.username); credentials.setPassword(form.password); -- libgit2 0.21.2