Tatianka/alg-vis — comment on commit b00efb91258a52e4c4cbd9db66d326802556c5fb
File: src/algvis/reversals/ReversalNode.java line 47
By kuk0:

you don't need this...
there is a method "calc()" in BSTNode which recalculates size, height, and sum of heights for the given node..
calc() is called automatically by rotate() so you don't need to care about that