From a02862092ab040ea996cfcb4a0aa6eafd9c3ab69 Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Sat, 13 Mar 2004 17:15:17 +0000 Subject: [PATCH] Consistent coding standards wrt package git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131604 13f79535-47bb-0310-9956-ffa450edef68 --- .../functors/TransformedPredicate.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/java/org/apache/commons/collections/functors/TransformedPredicate.java b/src/java/org/apache/commons/collections/functors/TransformedPredicate.java index 15cc01df8..1aede2da4 100644 --- a/src/java/org/apache/commons/collections/functors/TransformedPredicate.java +++ b/src/java/org/apache/commons/collections/functors/TransformedPredicate.java @@ -25,7 +25,7 @@ import org.apache.commons.collections.Transformer; * another Predicate. * * @since Commons Collections 3.1 - * @version $Revision: 1.1 $ $Date: 2004/03/13 16:34:46 $ + * @version $Revision: 1.2 $ $Date: 2004/03/13 17:15:17 $ * @author Alban Peignier * @author Stephen Colebourne */ @@ -35,9 +35,9 @@ public final class TransformedPredicate implements Predicate, Serializable { static final long serialVersionUID = -5596090919668315834L; /** The transformer to call */ - private final Transformer transformer; + private final Transformer iTransformer; /** The predicate to call */ - private final Predicate predicate; + private final Predicate iPredicate; /** * Factory to create the predicate. @@ -62,16 +62,16 @@ public final class TransformedPredicate implements Predicate, Serializable { * Use getInstance if you want that. */ public TransformedPredicate(Transformer transformer, Predicate predicate) { - this.transformer = transformer; - this.predicate = predicate; + iTransformer = transformer; + iPredicate = predicate; } /** * Return the predicate result. */ public boolean evaluate(Object object) { - Object result = transformer.transform(object); - return predicate.evaluate(result); + Object result = iTransformer.transform(object); + return iPredicate.evaluate(result); } /** @@ -79,7 +79,7 @@ public final class TransformedPredicate implements Predicate, Serializable { * @return the predicate */ public Predicate getPredicate() { - return predicate; + return iPredicate; } /** @@ -87,7 +87,7 @@ public final class TransformedPredicate implements Predicate, Serializable { * @return the transformer */ public Transformer getTransformer() { - return transformer; + return iTransformer; } }