Is this example wrong?

Found this example, it doesn’t look correct at all. delegatedPeerRouting() was set on contenRouting and on the other hand delegatedContentRouting() was set on peerRouting.