/** * Are we currently requesting the piece? * * @deprecated deadlocks * @since 0.8.1 */ boolean isRequesting(int p) { PeerState s = state; return s != null && s.isRequesting(p); }