The warriors are kings of cashing in on 2nd Rd picks. They don't have one this year. This trade gives them a chance to find the next TJD or Podz. They still get to keep some size with Niang a stretch 4.
Cavs benefit from another center on the depth chart and get another guy that can give physical hard minutes in short spurts. Looney has done some good things in playoffs while Niang has been unplayable during playoffs. By giving up a duplicate 2nd Rd pick, the Cavs can get a veteran that may be more productive for this team. Worse case they save 8.5 mil for next year when the Mobley extension kicks in .