From 9d2d8ef94b327743f97ed40736de3e517c92a4e8 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sun, 6 Apr 2008 06:45:08 +0000 Subject: Remove use of BeanPropertyAccessor. --- src/main/java/com/amazon/carbonado/qe/StandardQuery.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main/java/com/amazon/carbonado') diff --git a/src/main/java/com/amazon/carbonado/qe/StandardQuery.java b/src/main/java/com/amazon/carbonado/qe/StandardQuery.java index 2914bf8..3b5410c 100644 --- a/src/main/java/com/amazon/carbonado/qe/StandardQuery.java +++ b/src/main/java/com/amazon/carbonado/qe/StandardQuery.java @@ -20,8 +20,6 @@ package com.amazon.carbonado.qe; import java.io.IOException; -import org.cojen.util.BeanPropertyAccessor; - import com.amazon.carbonado.Cursor; import com.amazon.carbonado.FetchException; import com.amazon.carbonado.IsolationLevel; @@ -223,7 +221,6 @@ public abstract class StandardQuery extends AbstractQuery Class storableType = getStorableType(); Filter orderFilter = Filter.getClosedFilter(storableType); Filter lastSubFilter = Filter.getOpenFilter(storableType); - BeanPropertyAccessor accessor = BeanPropertyAccessor.forClass(storableType); Object[] values = new Object[orderings.size()]; @@ -235,7 +232,7 @@ public abstract class StandardQuery extends AbstractQuery } String propertyName = property.getChainedProperty().toString(); - values[i] = accessor.getPropertyValue(start, propertyName); + values[i] = start.getPropertyValue(propertyName); orderFilter = orderFilter.or(lastSubFilter.and(propertyName, operator)); -- cgit v1.2.3