Return-Path: Delivered-To: apmail-ofbiz-commits-archive@www.apache.org Received: (qmail 3858 invoked from network); 28 Feb 2011 20:13:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Feb 2011 20:13:52 -0000 Received: (qmail 10371 invoked by uid 500); 28 Feb 2011 20:13:51 -0000 Delivered-To: apmail-ofbiz-commits-archive@ofbiz.apache.org Received: (qmail 10326 invoked by uid 500); 28 Feb 2011 20:13:51 -0000 Mailing-List: contact commits-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list commits@ofbiz.apache.org Received: (qmail 10319 invoked by uid 99); 28 Feb 2011 20:13:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 20:13:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 20:13:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6C12123889BB; Mon, 28 Feb 2011 20:13:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1075512 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java Date: Mon, 28 Feb 2011 20:13:30 -0000 To: commits@ofbiz.apache.org From: mrisaliti@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110228201330.6C12123889BB@eris.apache.org> Author: mrisaliti Date: Mon Feb 28 20:13:30 2011 New Revision: 1075512 URL: http://svn.apache.org/viewvc?rev=1075512&view=rev Log: Add some @SuppressWarning("serial") in EntityFinderUtil (OFBIZ-4102) Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java?rev=1075512&r1=1075511&r2=1075512&view=diff ============================================================================== --- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java (original) +++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/EntityFinderUtil.java Mon Feb 28 20:13:30 2011 @@ -149,6 +149,7 @@ public class EntityFinderUtil { public static interface Condition extends Serializable { public EntityCondition createCondition(Map context, ModelEntity modelEntity, ModelFieldTypeReader modelFieldTypeReader); } + @SuppressWarnings("serial") public static class ConditionExpr implements Condition { protected FlexibleStringExpander fieldNameExdr; protected FlexibleStringExpander operatorExdr; @@ -261,6 +262,7 @@ public class EntityFinderUtil { } } + @SuppressWarnings("serial") public static class ConditionList implements Condition { List conditionList = new LinkedList(); FlexibleStringExpander combineExdr; @@ -308,6 +310,7 @@ public class EntityFinderUtil { return EntityCondition.makeCondition(entityConditionList, UtilGenerics.cast(operator)); } } + @SuppressWarnings("serial") public static class ConditionObject implements Condition { protected FlexibleMapAccessor fieldNameAcsr; @@ -329,6 +332,7 @@ public class EntityFinderUtil { public void handleOutput(EntityListIterator eli, Map context, FlexibleMapAccessor listAcsr); public void handleOutput(List results, Map context, FlexibleMapAccessor listAcsr); } + @SuppressWarnings("serial") public static class LimitRange implements OutputHandler { FlexibleStringExpander startExdr; FlexibleStringExpander sizeExdr; @@ -383,6 +387,7 @@ public class EntityFinderUtil { listAcsr.put(context, results.subList(start, end)); } } + @SuppressWarnings("serial") public static class LimitView implements OutputHandler { FlexibleStringExpander viewIndexExdr; FlexibleStringExpander viewSizeExdr; @@ -439,6 +444,7 @@ public class EntityFinderUtil { listAcsr.put(context, results.subList(begin, end)); } } + @SuppressWarnings("serial") public static class UseIterator implements OutputHandler { public UseIterator(Element useIteratorElement) { // no parameters, nothing to do @@ -452,6 +458,7 @@ public class EntityFinderUtil { throw new IllegalArgumentException("Cannot handle output with use-iterator when the query is cached, or the result in general is not an EntityListIterator"); } } + @SuppressWarnings("serial") public static class GetAll implements OutputHandler { public GetAll() { // no parameters, nothing to do