summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/repo/logging
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-04-14 15:47:43 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-04-14 15:47:43 +0000
commit7643355f4c35e3db494c9040f67aed3823efa103 (patch)
tree57f8ce29f39ddc09871e6f7368f23a37a4cf2089 /src/main/java/com/amazon/carbonado/repo/logging
parentc5028b6b2d70cd5ab1a051195ade47bd6fec72f9 (diff)
Renamed overloaded slice fetch method to fetchSlice for clarity.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo/logging')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java b/src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java
index e737288..6d07801 100644
--- a/src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java
+++ b/src/main/java/com/amazon/carbonado/repo/logging/LoggingQuery.java
@@ -141,13 +141,13 @@ class LoggingQuery<S extends Storable> implements Query<S> {
return mQuery.fetch();
}
- public Cursor<S> fetch(long from, Long to) throws FetchException {
+ public Cursor<S> fetchSlice(long from, Long to) throws FetchException {
Log log = mStorage.mLog;
if (log.isEnabled()) {
- log.write("Query.fetch(start, to) on " + this +
+ log.write("Query.fetchSlice(start, to) on " + this +
", from: " + from + ", to: " + to);
}
- return mQuery.fetch(from, to);
+ return mQuery.fetchSlice(from, to);
}
public Cursor<S> fetchAfter(S start) throws FetchException {