summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-09-19 05:18:34 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-09-19 05:18:34 +0000
commit8cd618876f30f927ce19e0c1edbc8e39e357a209 (patch)
tree748d40e2fff42d0df4067f15f04a8983a591d2e2 /src
parentd5e7a0f66f639d42934074a751aa9af9f76a3ceb (diff)
Removed unnecessary synchronization.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/amazon/carbonado/cursor/AbstractCursor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/cursor/AbstractCursor.java b/src/main/java/com/amazon/carbonado/cursor/AbstractCursor.java
index c71393a..fb34617 100644
--- a/src/main/java/com/amazon/carbonado/cursor/AbstractCursor.java
+++ b/src/main/java/com/amazon/carbonado/cursor/AbstractCursor.java
@@ -64,7 +64,7 @@ public abstract class AbstractCursor<S> implements Cursor<S> {
return list;
}
- public synchronized int skipNext(int amount) throws FetchException {
+ public int skipNext(int amount) throws FetchException {
if (amount <= 0) {
if (amount < 0) {
throw new IllegalArgumentException("Cannot skip negative amount: " + amount);