Permalink
Browse files

removed unused Tape method

  • Loading branch information...
1 parent 6c50089 commit ff06e9005b60ba32b51ed79811c1522709c76bef Rob Fletcher committed Oct 22, 2012
@@ -73,10 +73,6 @@ class MemoryTape implements Tape {
}
}
- boolean isAtEnd() {
- sequential && !writable && orderedIndex.get() >= interactions.size()
- }
-
Response play(Request request) {
if (!mode.readable) {
throw new IllegalStateException('the tape is not readable')
@@ -56,12 +56,6 @@ interface Tape {
int size()
/**
- * @return `true` if access is read-only, sequential and all interactions have been replayed already, `false`
- * otherwise.
- */
- boolean isAtEnd()
-
- /**
* Attempts to find a recorded interaction on the tape that matches the supplied request.
* @param request the HTTP request to match.
* @return `true` if a matching recorded interaction was found, `false` otherwise.

0 comments on commit ff06e90

Please sign in to comment.