Skip to content

Commit

Permalink
Merge pull request square#1287 from square/jw/long-deprecated
Browse files Browse the repository at this point in the history
Remove long-deprecated peek API.
  • Loading branch information
swankjesse committed Jan 5, 2015
2 parents e2d5bd7 + 6f232fd commit 00a6bff
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,4 @@ public abstract class Dispatcher {
public MockResponse peek() {
return new MockResponse().setSocketPolicy(SocketPolicy.KEEP_OPEN);
}

/** @deprecated replaced with {@link #peek}. */
protected final SocketPolicy peekSocketPolicy() {
throw new UnsupportedOperationException("This API is obsolete. Override peek() instead!");
}
}

0 comments on commit 00a6bff

Please sign in to comment.