Skip to content

Commit

Permalink
Remove long-deprecated peek API.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Jan 5, 2015
1 parent a13597e commit 6f232fd
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 6f232fd

Please sign in to comment.