Commit e3778be8572f44c1a9abf433f188acde70818234
1 parent
4724a696
Retirada de comentário desnecessário
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
demoiselle-persistence-jpa/src/main/java/org/demoiselle/jee/persistence/jpa/crud/GenericCrudDAO.java
@@ -60,13 +60,6 @@ public abstract class GenericCrudDAO<T> { | @@ -60,13 +60,6 @@ public abstract class GenericCrudDAO<T> { | ||
60 | public GenericDataPage pageResult(String sort, String order, Integer from, Integer size, String search, | 60 | public GenericDataPage pageResult(String sort, String order, Integer from, Integer size, String search, |
61 | String fields, HashMap<String, String> filter) { | 61 | String fields, HashMap<String, String> filter) { |
62 | 62 | ||
63 | - // TODO: Rever esta validação | ||
64 | - // if (GPUtils.isEmpty(sort, order) || !((order.equalsIgnoreCase("asc") | ||
65 | - // || order.equalsIgnoreCase("desc")) | ||
66 | - // && (GPUtils.fieldInClass(sort, this.entityClass)))) { | ||
67 | - // throw new GPException(GPMessage.LIST_PARAM_ERROR); | ||
68 | - // } | ||
69 | - | ||
70 | if (from == null) { | 63 | if (from == null) { |
71 | from = 0; | 64 | from = 0; |
72 | } | 65 | } |