diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2008-04-06 06:45:08 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2008-04-06 06:45:08 +0000 |
commit | 9d2d8ef94b327743f97ed40736de3e517c92a4e8 (patch) | |
tree | 2da2660a73f8aee5c26db86e320819c737e7da1f /src/main/java/com/amazon/carbonado/qe | |
parent | e2fc668f22ec688a07d7ff5c6d09b2f05dda6447 (diff) |
Remove use of BeanPropertyAccessor.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/qe')
-rw-r--r-- | src/main/java/com/amazon/carbonado/qe/StandardQuery.java | 5 |
1 files changed, 1 insertions, 4 deletions
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<S extends Storable> extends AbstractQuery<S> Class<S> storableType = getStorableType();
Filter<S> orderFilter = Filter.getClosedFilter(storableType);
Filter<S> lastSubFilter = Filter.getOpenFilter(storableType);
- BeanPropertyAccessor accessor = BeanPropertyAccessor.forClass(storableType);
Object[] values = new Object[orderings.size()];
@@ -235,7 +232,7 @@ public abstract class StandardQuery<S extends Storable> extends AbstractQuery<S> }
String propertyName = property.getChainedProperty().toString();
- values[i] = accessor.getPropertyValue(start, propertyName);
+ values[i] = start.getPropertyValue(propertyName);
orderFilter = orderFilter.or(lastSubFilter.and(propertyName, operator));
|