From d39bafc905ada01794f60f4e5f8a1e5a053bf45d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Westk=C3=A4mper?= Date: Wed, 24 Mar 2010 21:32:56 +0000 Subject: [PATCH] fixed a typo --- .../java/com/mysema/query/QueryModifiers.java | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/querydsl-core/src/main/java/com/mysema/query/QueryModifiers.java b/querydsl-core/src/main/java/com/mysema/query/QueryModifiers.java index b4fc14f8e..54b70edbc 100644 --- a/querydsl-core/src/main/java/com/mysema/query/QueryModifiers.java +++ b/querydsl-core/src/main/java/com/mysema/query/QueryModifiers.java @@ -23,24 +23,10 @@ public final class QueryModifiers implements Serializable{ private static final long serialVersionUID = 2934344588433680339L; - /** - * Limit. - * - * @param limit the limit - * - * @return the query modifiers - */ public static QueryModifiers limit(@Nonnegative long limit) { return new QueryModifiers(Long.valueOf(limit), null); } - /** - * Offset. - * - * @param offset the offset - * - * @return the query modifiers - */ public static QueryModifiers offset(@Nonnegative long offset) { return new QueryModifiers(null, Long.valueOf(offset)); } @@ -70,7 +56,7 @@ public final class QueryModifiers implements Serializable{ } this.offset = offset; if (offset != null && offset < 0) { - throw new IllegalArgumentException("Limit must not be negative."); + throw new IllegalArgumentException("Offset must not be negative."); } }